├── public ├── avbook │ ├── 0.gif │ ├── 1x1.gif │ ├── logo.png │ ├── favicon.ico │ ├── favicon2.ico │ ├── nowprinting.gif │ ├── movie_loading.gif │ ├── scrshot_index.png │ ├── scrshot_movie.png │ ├── search_loading.gif │ ├── apple-touch-icon.png │ ├── apple-touch-icon2.png │ ├── icn-rating_star.gif │ ├── themes │ │ ├── krajee-fa │ │ │ ├── theme.min.css │ │ │ ├── theme.css │ │ │ ├── theme.min.js │ │ │ └── theme.js │ │ ├── krajee-fas │ │ │ ├── theme.min.css │ │ │ ├── theme.css │ │ │ ├── theme.min.js │ │ │ └── theme.js │ │ ├── krajee-uni │ │ │ ├── theme.min.css │ │ │ ├── theme.min.js │ │ │ ├── theme.css │ │ │ └── theme.js │ │ ├── krajee-svg │ │ │ ├── theme.min.js │ │ │ ├── theme.js │ │ │ ├── theme.min.css │ │ │ └── theme.css │ │ └── zh.js │ ├── nav.overlay.js │ ├── base.js │ ├── base2.js │ ├── ads.js │ ├── genre.css │ ├── movie-box.css │ ├── blurmask.css │ ├── jquery.cookie.min.js │ ├── bootstrap-hover-dropdown.js │ ├── nav.overlay.css │ ├── focus.js │ ├── mask.js │ ├── main.css │ ├── star-rating.min.css │ ├── gallery2.js │ ├── gallery.js │ ├── movie.css │ └── jquery.masonry.min.js ├── robots.txt ├── favicon.ico ├── img │ └── loading.gif ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── .htaccess ├── web.config └── index.php ├── database ├── .gitignore ├── seeds │ └── DatabaseSeeder.php ├── migrations │ ├── 2019_07_02_090723_create_avbook_javlib_vid_table.php │ ├── 2019_05_11_083515_create_avbook_avmoo_genre_table.php │ ├── 2019_05_11_083515_create_avbook_avmoo_label_table.php │ ├── 2019_05_11_083515_create_avbook_avmoo_director_table.php │ ├── 2019_05_11_083515_create_avbook_avmoo_series_table.php │ ├── 2019_05_11_083515_create_avbook_avmoo_studio_table.php │ ├── 2019_05_11_083515_create_avbook_javbus_series_table.php │ ├── 2019_05_11_083515_create_avbook_javbus_studio_table.php │ ├── 2019_05_11_083515_create_avbook_crawler_404_table.php │ ├── 2019_07_02_090723_create_avbook_javlib_genre_table.php │ ├── 2019_05_11_083515_create_avbook_javbus_magnet_table.php │ ├── 2019_05_11_083515_create_avbook_avmoo_star_table.php │ ├── 2019_05_11_083515_create_avbook_javbus_star_table.php │ ├── 2019_07_02_090723_create_avbook_javlib_movie_table.php │ ├── 2019_05_11_083515_create_avbook_javbus_movie_table.php │ └── 2019_05_11_083515_create_avbook_avmoo_movie_table.php └── factories │ └── UserFactory.php ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore └── framework │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── cache │ ├── data │ │ └── .gitignore │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── resources ├── code_36 │ ├── avbook_avmoo_en_end_code_36_star.txt │ ├── avbook_avmoo_end_code_36_director.txt │ ├── avbook_avmoo_end_code_36_label.txt │ ├── avbook_avmoo_end_code_36_movie.txt │ ├── avbook_avmoo_end_code_36_series.txt │ ├── avbook_avmoo_end_code_36_star.txt │ ├── avbook_avmoo_end_code_36_studio.txt │ ├── avbook_javbus_en_end_code_36_star.txt │ ├── avbook_javbus_end_code_36_label.txt │ ├── avbook_javbus_end_code_36_series.txt │ ├── avbook_javbus_end_code_36_star.txt │ └── avbook_javbus_end_code_36_director.txt ├── t2.torrent ├── t3.torrent ├── test.torrent ├── sass │ ├── app.scss │ └── _variables.scss ├── lang │ └── en │ │ ├── pagination.php │ │ ├── auth.php │ │ └── passwords.php ├── js │ ├── components │ │ └── ExampleComponent.vue │ ├── app.js │ └── bootstrap.js └── views │ ├── actresses.blade.php │ ├── itemtag.blade.php │ ├── magnetlinks.blade.php │ ├── welcome.blade.php │ └── magnetlinks2.blade.php ├── .gitattributes ├── config ├── urlconfig.php ├── avbook.php ├── view.php ├── services.php ├── hashing.php ├── broadcasting.php ├── filesystems.php ├── queue.php ├── logging.php ├── cache.php ├── auth.php ├── database.php └── mail.php ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ └── ExampleTest.php └── CreatesApplication.php ├── app ├── Models │ ├── Javbus.php │ ├── Label.php │ ├── Magnet.php │ ├── Series.php │ ├── Studio.php │ ├── Actresses.php │ ├── Director.php │ ├── Avbooks.php │ ├── Javlibrary.php │ └── Movies.php ├── Http │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── CheckForMaintenanceMode.php │ │ ├── TrimStrings.php │ │ ├── TrustProxies.php │ │ ├── Authenticate.php │ │ ├── VerifyCsrfToken.php │ │ └── RedirectIfAuthenticated.php │ ├── Controllers │ │ ├── Controller.php │ │ └── Auth │ │ │ ├── ForgotPasswordController.php │ │ │ ├── LoginController.php │ │ │ ├── ResetPasswordController.php │ │ │ ├── VerificationController.php │ │ │ └── RegisterController.php │ └── Kernel.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── Console │ ├── Commands │ │ ├── SendEmails.php │ │ ├── Scandir.php │ │ └── Bttool.php │ ├── Kernel.php │ └── Tools │ │ └── MedooEx.php ├── User.php ├── Exceptions │ └── Handler.php └── Tools │ └── CrawlerUpdate.php ├── .editorconfig ├── routes ├── channels.php ├── console.php ├── web.php └── api.php ├── server.php ├── .env.example ├── phpunit.xml ├── package.json ├── .gitignore ├── artisan ├── composer.json └── readme.md /public/avbook/0.gif: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /resources/code_36/avbook_avmoo_en_end_code_36_star.txt: -------------------------------------------------------------------------------- 1 | u27 -------------------------------------------------------------------------------- /resources/code_36/avbook_avmoo_end_code_36_director.txt: -------------------------------------------------------------------------------- 1 | 3vs -------------------------------------------------------------------------------- /resources/code_36/avbook_avmoo_end_code_36_label.txt: -------------------------------------------------------------------------------- 1 | 70h -------------------------------------------------------------------------------- /resources/code_36/avbook_avmoo_end_code_36_movie.txt: -------------------------------------------------------------------------------- 1 | 77zo -------------------------------------------------------------------------------- /resources/code_36/avbook_avmoo_end_code_36_series.txt: -------------------------------------------------------------------------------- 1 | ptq -------------------------------------------------------------------------------- /resources/code_36/avbook_avmoo_end_code_36_star.txt: -------------------------------------------------------------------------------- 1 | ubh -------------------------------------------------------------------------------- /resources/code_36/avbook_avmoo_end_code_36_studio.txt: -------------------------------------------------------------------------------- 1 | 3j9 -------------------------------------------------------------------------------- /resources/code_36/avbook_javbus_en_end_code_36_star.txt: -------------------------------------------------------------------------------- 1 | uqc -------------------------------------------------------------------------------- /resources/code_36/avbook_javbus_end_code_36_label.txt: -------------------------------------------------------------------------------- 1 | 6yz -------------------------------------------------------------------------------- /resources/code_36/avbook_javbus_end_code_36_series.txt: -------------------------------------------------------------------------------- 1 | ph7 -------------------------------------------------------------------------------- /resources/code_36/avbook_javbus_end_code_36_star.txt: -------------------------------------------------------------------------------- 1 | uq6 -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /resources/code_36/avbook_javbus_end_code_36_director.txt: -------------------------------------------------------------------------------- 1 | 3t3 -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /resources/t2.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/resources/t2.torrent -------------------------------------------------------------------------------- /resources/t3.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/resources/t3.torrent -------------------------------------------------------------------------------- /public/avbook/1x1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/avbook/1x1.gif -------------------------------------------------------------------------------- /public/avbook/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/avbook/logo.png -------------------------------------------------------------------------------- /public/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/img/loading.gif -------------------------------------------------------------------------------- /resources/test.torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/resources/test.torrent -------------------------------------------------------------------------------- /public/avbook/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/avbook/favicon.ico -------------------------------------------------------------------------------- /public/avbook/favicon2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/avbook/favicon2.ico -------------------------------------------------------------------------------- /public/avbook/nowprinting.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/avbook/nowprinting.gif -------------------------------------------------------------------------------- /public/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /public/avbook/movie_loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/avbook/movie_loading.gif -------------------------------------------------------------------------------- /public/avbook/scrshot_index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/avbook/scrshot_index.png -------------------------------------------------------------------------------- /public/avbook/scrshot_movie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/avbook/scrshot_movie.png -------------------------------------------------------------------------------- /public/avbook/search_loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/avbook/search_loading.gif -------------------------------------------------------------------------------- /public/avbook/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/avbook/apple-touch-icon.png -------------------------------------------------------------------------------- /public/avbook/apple-touch-icon2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/avbook/apple-touch-icon2.png -------------------------------------------------------------------------------- /public/avbook/icn-rating_star.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/avbook/icn-rating_star.gif -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZyqGitHub1/avbook/HEAD/public/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | config.php 2 | routes.php 3 | schedule-* 4 | compiled.php 5 | services.json 6 | events.scanned.php 7 | routes.scanned.php 8 | down 9 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.css linguist-language=php 2 | *.less linguist-language=php 3 | *.js linguist-language=php 4 | *.html linguist-language=php 5 | CHANGELOG.md export-ignore -------------------------------------------------------------------------------- /config/urlconfig.php: -------------------------------------------------------------------------------- 1 | 'avmoo.asia', 4 | 'javbushost'=>'www.javbus.life', 5 | 'javlibhost'=>'www.c32r.com', 6 | 'btsourl' => 'https://btsow.pw/search/' 7 | ]; 8 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | 7 | */.theme-krajee-fa .star{font-size:1.1em} -------------------------------------------------------------------------------- /resources/sass/app.scss: -------------------------------------------------------------------------------- 1 | 2 | // Fonts 3 | @import url('https://fonts.googleapis.com/css?family=Nunito'); 4 | 5 | // Variables 6 | @import 'variables'; 7 | 8 | // Bootstrap 9 | @import '~bootstrap/scss/bootstrap'; 10 | 11 | .navbar-laravel { 12 | background-color: #fff; 13 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04); 14 | } 15 | -------------------------------------------------------------------------------- /public/avbook/themes/krajee-fas/theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Krajee Font Awesome Theme styling for bootstrap-star-rating. 3 | * This file must be loaded after 'star-rating.css'. 4 | * 5 | * @see http://github.com/kartik-v/bootstrap-star-rating 6 | * @author Kartik Visweswaran 7 | */.theme-krajee-fas.rating-rtl.is-star .filled-stars{right:0} -------------------------------------------------------------------------------- /database/seeds/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | call(UsersTableSeeder::class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /public/avbook/themes/krajee-fa/theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Krajee Font Awesome Theme styling for bootstrap-star-rating. 3 | * This file must be loaded after 'star-rating.css'. 4 | * 5 | * @see http://github.com/kartik-v/bootstrap-star-rating 6 | * @author Kartik Visweswaran 7 | */ 8 | .theme-krajee-fa .star { 9 | font-size: 1.1em; 10 | } -------------------------------------------------------------------------------- /public/avbook/themes/krajee-fas/theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Krajee Font Awesome Theme styling for bootstrap-star-rating. 3 | * This file must be loaded after 'star-rating.css'. 4 | * 5 | * @see http://github.com/kartik-v/bootstrap-star-rating 6 | * @author Kartik Visweswaran 7 | */ 8 | .theme-krajee-fas.rating-rtl.is-star .filled-stars { 9 | right: 0; 10 | } -------------------------------------------------------------------------------- /app/Models/Javlibrary.php: -------------------------------------------------------------------------------- 1 | hasOne('App\Models\Avbooks','censored_id','censored_id'); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /public/avbook/themes/krajee-uni/theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Krajee Unicode Theme styling for bootstrap-star-rating. 3 | * This file must be loaded after 'star-rating.css'. 4 | * 5 | * @see http://github.com/kartik-v/bootstrap-star-rating 6 | * @author Kartik Visweswaran 7 | */.theme-krajee-uni .star{font-size:1.2em;line-height:1;margin:0}.theme-krajee-uni .clear-rating{font-size:1em;line-height:1} -------------------------------------------------------------------------------- /public/avbook/themes/krajee-uni/theme.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Krajee Unicode Theme configuration for bootstrap-star-rating. 3 | * This file must be loaded after 'star-rating.js'. 4 | * 5 | * @see http://github.com/kartik-v/bootstrap-star-rating 6 | * @author Kartik Visweswaran 7 | */!function(e){"use strict";e.fn.ratingThemes["krajee-uni"]={filledStar:"★",emptyStar:"☆",clearButton:"⊝"}}(window.jQuery); 8 | -------------------------------------------------------------------------------- /resources/sass/_variables.scss: -------------------------------------------------------------------------------- 1 | 2 | // Body 3 | $body-bg: #f8fafc; 4 | 5 | // Typography 6 | $font-family-sans-serif: "Nunito", sans-serif; 7 | $font-size-base: 0.9rem; 8 | $line-height-base: 1.6; 9 | 10 | // Colors 11 | $blue: #3490dc; 12 | $indigo: #6574cd; 13 | $purple: #9561e2; 14 | $pink: #f66D9b; 15 | $red: #e3342f; 16 | $orange: #f6993f; 17 | $yellow: #ffed4a; 18 | $green: #38c172; 19 | $teal: #4dc0b5; 20 | $cyan: #6cb2eb; 21 | -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | get('/'); 18 | 19 | $response->assertStatus(200); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /public/avbook/themes/krajee-fa/theme.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Krajee Font Awesome Theme configuration for bootstrap-star-rating. 3 | * This file must be loaded after 'star-rating.js'. 4 | * 5 | * @see http://github.com/kartik-v/bootstrap-star-rating 6 | * @author Kartik Visweswaran 7 | */!function(a){"use strict";a.fn.ratingThemes["krajee-fa"]={filledStar:'',emptyStar:'',clearButton:''}}(window.jQuery); -------------------------------------------------------------------------------- /public/avbook/themes/krajee-fas/theme.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Krajee Font Awesome Theme configuration for bootstrap-star-rating. 3 | * This file must be loaded after 'star-rating.js'. 4 | * 5 | * @see http://github.com/kartik-v/bootstrap-star-rating 6 | * @author Kartik Visweswaran 7 | */!function(a){"use strict";a.fn.ratingThemes["krajee-fas"]={filledStar:'',emptyStar:'',clearButton:''}}(window.jQuery); -------------------------------------------------------------------------------- /public/avbook/themes/krajee-uni/theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Krajee Unicode Theme styling for bootstrap-star-rating. 3 | * This file must be loaded after 'star-rating.css'. 4 | * 5 | * @see http://github.com/kartik-v/bootstrap-star-rating 6 | * @author Kartik Visweswaran 7 | */ 8 | .theme-krajee-uni .star { 9 | font-size: 1.2em; 10 | line-height: 1; 11 | margin: 0; 12 | } 13 | 14 | .theme-krajee-uni .clear-rating { 15 | font-size: 1em; 16 | line-height: 1; 17 | } -------------------------------------------------------------------------------- /tests/CreatesApplication.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class)->bootstrap(); 19 | 20 | return $app; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | 7 | */ 8 | (function ($) { 9 | "use strict"; 10 | $.fn.ratingThemes['krajee-uni'] = { 11 | filledStar: '★', 12 | emptyStar: '☆', 13 | clearButton: '⊝' 14 | }; 15 | })(window.jQuery); 16 | -------------------------------------------------------------------------------- /public/avbook/themes/krajee-svg/theme.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Krajee SVG Theme Configuration for bootstrap-star-rating. 3 | * This file must be loaded after 'star-rating.js'. 4 | * 5 | * @see http://github.com/kartik-v/bootstrap-star-rating 6 | * @author Kartik Visweswaran 7 | */!function(a){"use strict";a.fn.ratingThemes["krajee-svg"]={filledStar:'',emptyStar:'',clearButton:''}}(window.jQuery); -------------------------------------------------------------------------------- /app/Http/Middleware/TrustProxies.php: -------------------------------------------------------------------------------- 1 | expectsJson()) { 18 | return route('login'); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /routes/channels.php: -------------------------------------------------------------------------------- 1 | id === (int) $id; 16 | }); 17 | -------------------------------------------------------------------------------- /public/avbook/themes/krajee-fas/theme.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Krajee Font Awesome Theme configuration for bootstrap-star-rating. 3 | * This file must be loaded after 'star-rating.js'. 4 | * 5 | * @see http://github.com/kartik-v/bootstrap-star-rating 6 | * @author Kartik Visweswaran 7 | */ 8 | (function ($) { 9 | "use strict"; 10 | $.fn.ratingThemes['krajee-fas'] = { 11 | filledStar: '', 12 | emptyStar: '', 13 | clearButton: '' 14 | }; 15 | })(window.jQuery); 16 | -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- 1 | 7 | */ 8 | (function ($) { 9 | "use strict"; 10 | $.fn.ratingThemes['krajee-fa'] = { 11 | filledStar: '', 12 | emptyStar: '', 13 | clearButton: '' 14 | }; 15 | })(window.jQuery); 16 | -------------------------------------------------------------------------------- /public/avbook/nav.overlay.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | var CBody = $('div.container'), 3 | TBtn = $('.trigger-overlay'), 4 | FScreen = $('div.overlay'), 5 | CBtn = $('.overlay .overlay-close'); 6 | 7 | function toggleFScreen() { 8 | if (FScreen.hasClass('open')) { 9 | FScreen.removeClass('open'); 10 | CBody.removeClass('overlay-open'); 11 | } else { 12 | FScreen.addClass('open'); 13 | CBody.addClass('overlay-open'); 14 | } 15 | } 16 | TBtn.on('click', toggleFScreen); 17 | CBtn.on('click', toggleFScreen); 18 | })(jQuery); -------------------------------------------------------------------------------- /public/avbook/themes/krajee-svg/theme.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Krajee SVG Theme Configuration for bootstrap-star-rating. 3 | * This file must be loaded after 'star-rating.js'. 4 | * 5 | * @see http://github.com/kartik-v/bootstrap-star-rating 6 | * @author Kartik Visweswaran 7 | */ 8 | (function ($) { 9 | "use strict"; 10 | $.fn.ratingThemes['krajee-svg'] = { 11 | filledStar: '', 12 | emptyStar: '', 13 | clearButton: '' 14 | }; 15 | })(window.jQuery); 16 | -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /routes/console.php: -------------------------------------------------------------------------------- 1 | comment(Inspiring::quote()); 18 | })->describe('Display an inspiring quote'); 19 | -------------------------------------------------------------------------------- /server.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | $uri = urldecode( 11 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) 12 | ); 13 | 14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the 15 | // built-in PHP web server. This provides a convenient way to test a Laravel 16 | // application without having installed a "real" web server software here. 17 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { 18 | return false; 19 | } 20 | 21 | require_once __DIR__.'/public/index.php'; 22 | -------------------------------------------------------------------------------- /app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- 1 | check()) { 21 | return redirect('/home'); 22 | } 23 | 24 | return $next($request); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /database/migrations/2019_07_02_090723_create_avbook_javlib_vid_table.php: -------------------------------------------------------------------------------- 1 | string('vid', 12)->primary(); 18 | }); 19 | } 20 | 21 | 22 | /** 23 | * Reverse the migrations. 24 | * 25 | * @return void 26 | */ 27 | public function down() 28 | { 29 | Schema::drop('avbook_javlib_vid'); 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /resources/js/components/ExampleComponent.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 24 | -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | 3 | Options -MultiViews -Indexes 4 | 5 | 6 | RewriteEngine On 7 | 8 | # Handle Authorization Header 9 | RewriteCond %{HTTP:Authorization} . 10 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 11 | 12 | # Redirect Trailing Slashes If Not A Folder... 13 | RewriteCond %{REQUEST_FILENAME} !-d 14 | RewriteCond %{REQUEST_URI} (.+)/$ 15 | RewriteRule ^ %1 [L,R=301] 16 | 17 | # Handle Front Controller... 18 | RewriteCond %{REQUEST_FILENAME} !-d 19 | RewriteCond %{REQUEST_FILENAME} !-f 20 | RewriteRule ^ index.php [L] 21 | 22 | -------------------------------------------------------------------------------- /public/avbook/base.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | 3 | $(document).ready(function() { 4 | 5 | 6 | if ($('body').height() > $(window).height()) { 7 | $("#prev, #next").hide(); 8 | } 9 | 10 | var show = function() { 11 | return $('body').height() - ($(window).height() + $(window).height() / 2); 12 | } 13 | 14 | $(function() { 15 | $(window).scroll(function() { 16 | if ($(this).scrollTop() > show()) { 17 | $("#prev, #next").show(); 18 | } else { 19 | $("#prev, #next").hide(); 20 | } 21 | }); 22 | }); 23 | }); 24 | 25 | })(jQuery); -------------------------------------------------------------------------------- /public/avbook/base2.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | 3 | $(document).ready(function() { 4 | 5 | 6 | if ($('body').height() > $(window).height()) { 7 | $("#prev, #next").hide(); 8 | } 9 | 10 | var show = function() { 11 | return $('body').height() - ($(window).height() + $(window).height() / 2); 12 | } 13 | 14 | $(function() { 15 | $(window).scroll(function() { 16 | if ($(this).scrollTop() > show()) { 17 | $("#prev, #next").show(); 18 | } else { 19 | $("#prev, #next").hide(); 20 | } 21 | }); 22 | }); 23 | }); 24 | 25 | })(jQuery); -------------------------------------------------------------------------------- /resources/lang/en/auth.php: -------------------------------------------------------------------------------- 1 | 'These credentials do not match our records.', 17 | 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /config/avbook.php: -------------------------------------------------------------------------------- 1 | 'Avbook', 4 | 'cen_per_page' => 30, 5 | 'filter' =>[ 6 | 'hd=1'=>'已有高清', 7 | 'sub=1'=>'有字幕', 8 | 'owned=1'=>'已拥有', 9 | 'owned=0'=>'排除已拥有', 10 | 'favorite=1'=>'收藏的', 11 | 'watched=1'=>'看过的', 12 | 'watched=0'=>'排除看过的', 13 | 'wanted=1'=>'想要的', 14 | 'wanted=0'=>'排除想要的', 15 | 'gc[]=4m'=>'主观视角', 16 | 'notgc[]=4m'=>'排除主观视角', 17 | 'gc[]=7x'=>'VR', 18 | 'notgc[]=7x'=>'排除VR', 19 | 'gc[]=8'=>'眼镜', 20 | 'gc[]=1g'=>'第一人稱攝影', 21 | 'notSeries=_'=>'系列', 22 | 'orderby=release_date'=>'按日期排序', 23 | 'orderby=code_10'=>'按id排序', 24 | ] 25 | ]; -------------------------------------------------------------------------------- /app/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- 1 | 'App\Policies\ModelPolicy', 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | $this->registerPolicies(); 27 | 28 | // 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /database/migrations/2019_05_11_083515_create_avbook_avmoo_genre_table.php: -------------------------------------------------------------------------------- 1 | string('genre_code', 11)->default('')->primary(); 18 | $table->string('genre_dsce', 64)->nullable(); 19 | }); 20 | } 21 | 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | Schema::drop('avbook_avmoo_genre'); 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /database/migrations/2019_05_11_083515_create_avbook_avmoo_label_table.php: -------------------------------------------------------------------------------- 1 | string('code_36', 5)->default('')->primary(); 18 | $table->string('label_name', 256)->nullable(); 19 | $table->integer('code_10')->nullable(); 20 | }); 21 | } 22 | 23 | 24 | /** 25 | * Reverse the migrations. 26 | * 27 | * @return void 28 | */ 29 | public function down() 30 | { 31 | Schema::drop('avbook_avmoo_label'); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2019_05_11_083515_create_avbook_avmoo_director_table.php: -------------------------------------------------------------------------------- 1 | string('code_36', 5)->default('')->primary(); 18 | $table->string('director_name', 256)->nullable(); 19 | $table->integer('code_10')->nullable(); 20 | }); 21 | } 22 | 23 | 24 | /** 25 | * Reverse the migrations. 26 | * 27 | * @return void 28 | */ 29 | public function down() 30 | { 31 | Schema::drop('avbook_avmoo_director'); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2019_05_11_083515_create_avbook_avmoo_series_table.php: -------------------------------------------------------------------------------- 1 | string('code_36', 10)->default('')->primary(); 18 | $table->string('series_name', 256)->nullable(); 19 | $table->integer('code_10')->unsigned()->nullable()->default(0); 20 | }); 21 | } 22 | 23 | 24 | /** 25 | * Reverse the migrations. 26 | * 27 | * @return void 28 | */ 29 | public function down() 30 | { 31 | Schema::drop('avbook_avmoo_series'); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2019_05_11_083515_create_avbook_avmoo_studio_table.php: -------------------------------------------------------------------------------- 1 | string('code_36', 10)->default('')->primary(); 18 | $table->string('studio_name', 256)->nullable(); 19 | $table->integer('code_10')->unsigned()->nullable()->default(0); 20 | }); 21 | } 22 | 23 | 24 | /** 25 | * Reverse the migrations. 26 | * 27 | * @return void 28 | */ 29 | public function down() 30 | { 31 | Schema::drop('avbook_avmoo_studio'); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2019_05_11_083515_create_avbook_javbus_series_table.php: -------------------------------------------------------------------------------- 1 | string('code_36', 10)->default('')->primary(); 18 | $table->string('series_name', 256)->nullable(); 19 | $table->integer('code_10')->unsigned()->nullable()->default(0); 20 | }); 21 | } 22 | 23 | 24 | /** 25 | * Reverse the migrations. 26 | * 27 | * @return void 28 | */ 29 | public function down() 30 | { 31 | Schema::drop('avbook_javbus_series'); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2019_05_11_083515_create_avbook_javbus_studio_table.php: -------------------------------------------------------------------------------- 1 | string('code_36', 10)->default('')->primary(); 18 | $table->string('studio_name', 256)->nullable(); 19 | $table->integer('code_10')->unsigned()->nullable()->default(0); 20 | }); 21 | } 22 | 23 | 24 | /** 25 | * Reverse the migrations. 26 | * 27 | * @return void 28 | */ 29 | public function down() 30 | { 31 | Schema::drop('avbook_javbus_studio'); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2019_05_11_083515_create_avbook_crawler_404_table.php: -------------------------------------------------------------------------------- 1 | string('code_36', 12)->default('')->index('code_36'); 18 | $table->string('intable_name', 128); 19 | $table->tinyinteger('checkdata')->nullable(); 20 | $table->primary(['intable_name','code_36']); 21 | }); 22 | } 23 | 24 | 25 | /** 26 | * Reverse the migrations. 27 | * 28 | * @return void 29 | */ 30 | public function down() 31 | { 32 | Schema::drop('avbook_crawler_404'); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /app/Console/Commands/SendEmails.php: -------------------------------------------------------------------------------- 1 | [ 19 | SendEmailVerificationNotification::class, 20 | ], 21 | ]; 22 | 23 | /** 24 | * Register any events for your application. 25 | * 26 | * @return void 27 | */ 28 | public function boot() 29 | { 30 | parent::boot(); 31 | 32 | // 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2019_07_02_090723_create_avbook_javlib_genre_table.php: -------------------------------------------------------------------------------- 1 | string('genre_code', 11)->primary(); 18 | $table->string('genre_dsce', 64)->nullable(); 19 | $table->integer('code_10')->nullable(); 20 | $table->integer('page_num')->nullable(); 21 | $table->integer('old_page_num')->nullable(); 22 | }); 23 | } 24 | 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | Schema::drop('avbook_javlib_genre'); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /public/avbook/ads.js: -------------------------------------------------------------------------------- 1 | if(top===self) var p=document.URL; else var p=document.referrer;var dt=new Date().getTime(); 2 | var exoDocumentProtocol = (document.location.protocol != "https:" && document.location.protocol != "http:") ? "https:" : document.location.protocol; 3 | if(typeof(ad_sub) == 'undefined') var ad_sub = ""; 4 | if(typeof(ad_tags) == 'undefined') var ad_tags = ""; 5 | var ad_type = ad_width + 'x' + ad_height; 6 | if(ad_width == '100%' && ad_height == '100%') ad_type = 'auto'; 7 | var ad_screen_resolution = screen.width + 'x' + screen.height; 8 | document.write(''); -------------------------------------------------------------------------------- /resources/lang/en/passwords.php: -------------------------------------------------------------------------------- 1 | 'Passwords must be at least eight characters and match the confirmation.', 17 | 'reset' => 'Your password has been reset!', 18 | 'sent' => 'We have e-mailed your password reset link!', 19 | 'token' => 'This password reset token is invalid.', 20 | 'user' => "We can't find a user with that e-mail address.", 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /app/User.php: -------------------------------------------------------------------------------- 1 | 'datetime', 38 | ]; 39 | } 40 | -------------------------------------------------------------------------------- /app/Models/Movies.php: -------------------------------------------------------------------------------- 1 | hasOne('App\Models\Series','code_36','Series'); 15 | } 16 | public function director_name() 17 | { 18 | return $this->hasOne('App\Models\Director','code_36','Director'); 19 | } 20 | public function studio_name() 21 | { 22 | return $this->hasOne('App\Models\Studio','code_36','Studio'); 23 | } 24 | public function label_name() 25 | { 26 | return $this->hasOne('App\Models\Label','code_36','Label'); 27 | } 28 | public function javlib() 29 | { 30 | return $this->hasOne('App\Models\Javlibrary','censored_id','censored_id'); 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /routes/web.php: -------------------------------------------------------------------------------- 1 | define(User::class, function (Faker $faker) { 19 | return [ 20 | 'name' => $faker->name, 21 | 'email' => $faker->unique()->safeEmail, 22 | 'email_verified_at' => now(), 23 | 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password 24 | 'remember_token' => Str::random(10), 25 | ]; 26 | }); 27 | -------------------------------------------------------------------------------- /public/avbook/genre.css: -------------------------------------------------------------------------------- 1 | .genre-box a { 2 | display:block; 3 | color: #1D1A18; 4 | } 5 | 6 | .genre-box a:hover,.genre-box a:focus { 7 | color: #FFF; 8 | background-color:#CC0000; 9 | } 10 | 11 | @media screen and (min-width: 768px) { 12 | .genre-box 13 | { 14 | padding:20px 0px; 15 | margin: 15px 0px; 16 | background-color: #fff; 17 | box-shadow: 0 1px 3px rgba(0,0,0,.3); 18 | -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3); 19 | -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3); 20 | } 21 | 22 | .genre-box a { 23 | padding-top: 15px; 24 | padding-bottom: 15px; 25 | } 26 | } 27 | 28 | 29 | @media screen and (max-width: 767px) { 30 | .genre-box { 31 | border-top: 1px solid #ddd; 32 | } 33 | 34 | .genre-box a { 35 | padding-top: 15px; 36 | padding-bottom: 15px; 37 | border-bottom: 1px solid #ddd; 38 | } 39 | 40 | .genre-box a:nth-of-type(even) { 41 | border-left: 1px solid #ddd; 42 | } 43 | } -------------------------------------------------------------------------------- /public/avbook/themes/zh.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Star Rating Chinese Translations 3 | * 4 | * This file must be loaded after 'star-rating.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * NOTE: this file must be saved in UTF-8 encoding. 8 | * 9 | * @see http://github.com/kartik-v/bootstrap-star-rating 10 | * @author Kartik Visweswaran 11 | * @author Freeman 12 | */ 13 | (function ($) { 14 | "use strict"; 15 | $.fn.ratingLocales['zh'] = { 16 | defaultCaption: '{rating} 星', 17 | starCaptions: { 18 | 0.5: '半星', 19 | 1: '一星', 20 | 1.5: '一星半', 21 | 2: '二星', 22 | 2.5: '二星半', 23 | 3: '三星', 24 | 3.5: '三星半', 25 | 4: '四星', 26 | 4.5: '四星半', 27 | 5: '五星' 28 | }, 29 | clearButtonTitle: '清除', 30 | clearCaption: '未评级' 31 | }; 32 | })(window.jQuery); 33 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/ForgotPasswordController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- 1 | command('inspire') 28 | // ->hourly(); 29 | } 30 | 31 | /** 32 | * Register the commands for the application. 33 | * 34 | * @return void 35 | */ 36 | protected function commands() 37 | { 38 | $this->load(__DIR__.'/Commands'); 39 | 40 | require base_path('routes/console.php'); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /public/avbook/movie-box.css: -------------------------------------------------------------------------------- 1 | .movie-box 2 | { 3 | display:block; 4 | background-color: #fff; 5 | overflow:hidden; 6 | margin: 10px; 7 | width: 167px; 8 | padding:0px; 9 | border:none; 10 | border-radius:0px; 11 | box-shadow: 0 1px 3px rgba(0,0,0,.3); 12 | -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3); 13 | -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3); 14 | } 15 | 16 | .movie-box .photo-frame 17 | { 18 | overflow:hidden; 19 | height:200px; 20 | margin:10px; 21 | } 22 | 23 | .movie-box img 24 | { 25 | height: 200px; 26 | } 27 | 28 | @media screen and (max-width: 767px) { 29 | 30 | .movie-box .photo-frame, 31 | .avatar-box .photo-frame 32 | { 33 | margin:0px; 34 | } 35 | 36 | .avatar-box 37 | { 38 | width: 125px; 39 | } 40 | 41 | .avatar-box img 42 | { 43 | height: 125px; 44 | } 45 | 46 | .movie-box 47 | { 48 | width: 125px; 49 | } 50 | 51 | .movie-box .photo-frame 52 | { 53 | height: 178px; 54 | } 55 | 56 | .movie-box img 57 | { 58 | height: 178px; 59 | margin-left: -3px; 60 | } 61 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/LoginController.php: -------------------------------------------------------------------------------- 1 | middleware('guest')->except('logout'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/ResetPasswordController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- 1 | get('/user', function (Request $request) { 16 | // return $request->user(); 17 | //}); 18 | 19 | 20 | //Route::get('/addgenre', 'API\MovieinfoController@addgenre'); 21 | //Route::get('/magnetlinks', 'API\MovieinfoController@magnetlinks'); 22 | 23 | 24 | //Route::any('/test/{action}', function ($action) { 25 | // $class = App::make(\App\Http\Controllers\TestController::class); 26 | // return $class->$action(); 27 | //}); 28 | Route::any('/{action}', function (Request $request,$action) { 29 | $class = App::make(\App\Http\Controllers\API\MovieinfoController::class); 30 | return $class->$action($request); 31 | }); 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /config/view.php: -------------------------------------------------------------------------------- 1 | [ 17 | resource_path('views'), 18 | ], 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Compiled View Path 23 | |-------------------------------------------------------------------------- 24 | | 25 | | This option determines where all the compiled Blade templates will be 26 | | stored for your application. Typically, this is within the storage 27 | | directory. However, as usual, you are free to change this value. 28 | | 29 | */ 30 | 31 | 'compiled' => env( 32 | 'VIEW_COMPILED_PATH', 33 | realpath(storage_path('framework/views')) 34 | ), 35 | 36 | ]; 37 | -------------------------------------------------------------------------------- /public/avbook/blurmask.css: -------------------------------------------------------------------------------- 1 | .blur { 2 | filter: url(blur.svg#blur); /* FireFox, Chrome, Opera */ 3 | 4 | -o-filter: blur(3px); 5 | -webkit-filter: blur(3px); /* Chrome, Opera */ 6 | -moz-filter: blur(3px); 7 | -ms-filter: blur(3px); 8 | filter: blur(3px); 9 | 10 | filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=10, MakeShadow=false); /* IE6~IE9 */ 11 | } 12 | .blur6 { 13 | filter: url(blur.svg#blur); /* FireFox, Chrome, Opera */ 14 | 15 | -o-filter: blur(6px); 16 | -webkit-filter: blur(6px); /* Chrome, Opera */ 17 | -moz-filter: blur(6px); 18 | -ms-filter: blur(6px); 19 | filter: blur(6px); 20 | 21 | filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=10, MakeShadow=false); /* IE6~IE9 */ 22 | } 23 | .blur10 { 24 | filter: url(blur.svg#blur); /* FireFox, Chrome, Opera */ 25 | 26 | -o-filter: blur(8px); 27 | -webkit-filter: blur(8px); /* Chrome, Opera */ 28 | -moz-filter: blur(8px); 29 | -ms-filter: blur(8px); 30 | filter: blur(8px); 31 | 32 | filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=10, MakeShadow=false); /* IE6~IE9 */ 33 | } -------------------------------------------------------------------------------- /resources/js/app.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * First we will load all of this project's JavaScript dependencies which 4 | * includes Vue and other libraries. It is a great starting point when 5 | * building robust, powerful web applications using Vue and Laravel. 6 | */ 7 | 8 | require('./bootstrap'); 9 | 10 | window.Vue = require('vue'); 11 | 12 | /** 13 | * The following block of code may be used to automatically register your 14 | * Vue components. It will recursively scan this directory for the Vue 15 | * components and automatically register them with their "basename". 16 | * 17 | * Eg. ./components/ExampleComponent.vue -> 18 | */ 19 | 20 | // const files = require.context('./', true, /\.vue$/i); 21 | // files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default)); 22 | 23 | Vue.component('example-component', require('./components/ExampleComponent.vue').default); 24 | 25 | /** 26 | * Next, we will create a fresh Vue application instance and attach it to 27 | * the page. Then, you may begin adding components to this application 28 | * or customize the JavaScript scaffolding to fit your unique needs. 29 | */ 30 | 31 | const app = new Vue({ 32 | el: '#app' 33 | }); 34 | -------------------------------------------------------------------------------- /database/migrations/2019_05_11_083515_create_avbook_javbus_magnet_table.php: -------------------------------------------------------------------------------- 1 | string('magnet_xt', 64)->default('')->comment('magnet:?xt=urn:btih:'); 18 | $table->string('gid', 16)->default('0')->index('gid'); 19 | $table->string('censored_id', 64)->default('')->index('censored_id'); 20 | $table->string('magnet_name', 1024)->nullable(); 21 | $table->string('magnet_type', 32)->nullable(); 22 | $table->string('magnet_date', 32)->nullable(); 23 | $table->integer('have_hd')->nullable(); 24 | $table->integer('have_sub')->nullable()->comment('1'); 25 | $table->integer('have_down')->nullable()->index('have_down'); 26 | $table->primary(['magnet_xt','gid']); 27 | }); 28 | } 29 | 30 | 31 | /** 32 | * Reverse the migrations. 33 | * 34 | * @return void 35 | */ 36 | public function down() 37 | { 38 | Schema::drop('avbook_javbus_magnet'); 39 | } 40 | 41 | } 42 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/VerificationController.php: -------------------------------------------------------------------------------- 1 | middleware('auth'); 38 | $this->middleware('signed')->only('verify'); 39 | $this->middleware('throttle:6,1')->only('verify', 'resend'); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | ./tests/Unit 14 | 15 | 16 | 17 | ./tests/Feature 18 | 19 | 20 | 21 | 22 | ./app 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /app/Exceptions/Handler.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /public/avbook/jquery.cookie.min.js: -------------------------------------------------------------------------------- 1 | (function($){if(typeof define==="function"&&define.amd)define(["jquery"],$);else if(typeof exports==="object")$(require("jquery"));else $(jQuery)}(function(B){var E=/\+/g;function $($){return D.raw?$:encodeURIComponent($)}function _($){return D.raw?$:decodeURIComponent($)}function F(_){return $(D.json?JSON.stringify(_):String(_))}function A(_){if(_.indexOf("\"")===0)_=_.slice(1,-1).replace(/\\"/g,"\"").replace(/\\\\/g,"\\");try{_=decodeURIComponent(_.replace(E," "));return D.json?JSON.parse(_):_}catch($){}}function C($,_){var C=D.raw?$:A($);return B.isFunction(_)?_(C):C}var D=B.cookie=function(N,J,P){if(J!==undefined&&!B.isFunction(J)){P=B.extend({},D.defaults,P);if(typeof P.expires==="number"){var H=P.expires,G=P.expires=new Date();G.setTime(+G+H*86400000)}return(document.cookie=[$(N),"=",F(J),P.expires?"; expires="+P.expires.toUTCString():"",P.path?"; path="+P.path:"",P.domain?"; domain="+P.domain:"",P.secure?"; secure":""].join(""))}var E=N?undefined:{},M=document.cookie?document.cookie.split("; "):[];for(var O=0,L=M.length;O [ 18 | 'domain' => env('MAILGUN_DOMAIN'), 19 | 'secret' => env('MAILGUN_SECRET'), 20 | 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'), 21 | ], 22 | 23 | 'postmark' => [ 24 | 'token' => env('POSTMARK_TOKEN'), 25 | ], 26 | 27 | 'ses' => [ 28 | 'key' => env('AWS_ACCESS_KEY_ID'), 29 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 30 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 31 | ], 32 | 33 | 'sparkpost' => [ 34 | 'secret' => env('SPARKPOST_SECRET'), 35 | ], 36 | 37 | 'stripe' => [ 38 | 'model' => App\User::class, 39 | 'key' => env('STRIPE_KEY'), 40 | 'secret' => env('STRIPE_SECRET'), 41 | 'webhook' => [ 42 | 'secret' => env('STRIPE_WEBHOOK_SECRET'), 43 | 'tolerance' => env('STRIPE_WEBHOOK_TOLERANCE', 300), 44 | ], 45 | ], 46 | 47 | ]; 48 | -------------------------------------------------------------------------------- /database/migrations/2019_05_11_083515_create_avbook_avmoo_star_table.php: -------------------------------------------------------------------------------- 1 | string('code_36', 5)->default('')->primary(); 18 | $table->string('star_name', 128)->nullable(); 19 | $table->string('star_birthday', 64)->nullable(); 20 | $table->integer('star_age')->nullable()->default(0); 21 | $table->string('star_cupsize', 8)->nullable(); 22 | $table->integer('star_height')->nullable(); 23 | $table->integer('star_bust')->nullable(); 24 | $table->integer('star_waist')->nullable(); 25 | $table->integer('star_hip')->nullable(); 26 | $table->string('hometown', 128)->nullable(); 27 | $table->string('hobby', 512)->nullable()->comment('https://jp.netcdn.space/mono/actjpgs/'); 28 | $table->string('star_pic', 64)->nullable()->comment('https://jp.netcdn.space/mono/actjpgs/'); 29 | $table->integer('favorite')->nullable()->default(0); 30 | $table->integer('file_num')->nullable(); 31 | $table->integer('code_10')->unsigned()->nullable(); 32 | }); 33 | } 34 | 35 | 36 | /** 37 | * Reverse the migrations. 38 | * 39 | * @return void 40 | */ 41 | public function down() 42 | { 43 | Schema::drop('avbook_avmoo_star'); 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /database/migrations/2019_05_11_083515_create_avbook_javbus_star_table.php: -------------------------------------------------------------------------------- 1 | string('code_36', 5)->default('')->primary(); 18 | $table->string('star_name', 128)->nullable(); 19 | $table->string('star_birthday', 64)->nullable(); 20 | $table->integer('star_age')->nullable()->default(0); 21 | $table->string('star_cupsize', 8)->nullable(); 22 | $table->integer('star_height')->nullable(); 23 | $table->integer('star_bust')->nullable(); 24 | $table->integer('star_waist')->nullable(); 25 | $table->integer('star_hip')->nullable(); 26 | $table->string('hometown', 128)->nullable(); 27 | $table->string('hobby', 512)->nullable()->comment('https://jp.netcdn.space/mono/actjpgs/'); 28 | $table->string('star_pic', 64)->nullable()->comment('https://jp.netcdn.space/mono/actjpgs/'); 29 | $table->integer('favorite')->nullable()->default(0); 30 | $table->integer('file_num')->nullable(); 31 | $table->integer('code_10')->unsigned()->nullable(); 32 | }); 33 | } 34 | 35 | 36 | /** 37 | * Reverse the migrations. 38 | * 39 | * @return void 40 | */ 41 | public function down() 42 | { 43 | Schema::drop('avbook_javbus_star'); 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /public/avbook/nav.overlay.css: -------------------------------------------------------------------------------- 1 | /* Overlay style */ 2 | .overlay { 3 | position: fixed; 4 | z-index:999; 5 | width: 100%; 6 | height: 100%; 7 | top: 0; 8 | left: 0; 9 | background: rgba(47,50,56,0.9); 10 | } 11 | 12 | /* Overlay colors */ 13 | .color1 { 14 | background: rgba(0,0,0,0.9); 15 | } 16 | 17 | .color2 { 18 | background: rgba(26,188,156,0.9); 19 | } 20 | 21 | .color3 { 22 | background: rgba(44,62,80,0.9); 23 | } 24 | 25 | .color4 { 26 | background: rgba(211,84,0,0.9); 27 | } 28 | 29 | /* Menu style */ 30 | 31 | .overlay .col-xs-6 a { 32 | line-height:2; 33 | font-size: 24px; 34 | font-weight: 300; 35 | display: block; 36 | color: #fff; 37 | -webkit-transition: opacity 0.2s; 38 | transition: opacity 0.2s; 39 | } 40 | 41 | .overlay .col-xs-6 { 42 | margin:10px 0; 43 | } 44 | 45 | .overlay-close .glyphicon-remove { 46 | color:#fff; 47 | font-size: 24px; 48 | } 49 | 50 | 51 | /* Effects */ 52 | .overlay-contentscale { 53 | visibility: hidden; 54 | -webkit-transform: translateY(100%); 55 | transform: translateY(100%); 56 | -webkit-transition: -webkit-transform 0.5s, visibility 0s 0.5s; 57 | transition: transform 0.5s, visibility 0s 0.5s; 58 | } 59 | 60 | .overlay-contentscale.open { 61 | visibility: visible; 62 | -webkit-transform: translateY(0%); 63 | transform: translateY(0%); 64 | -webkit-transition: -webkit-transform 0.5s; 65 | transition: transform 0.5s; 66 | } 67 | 68 | @media screen and (max-height: 30.5em) { 69 | .overlay nav { 70 | height: 70%; 71 | font-size: 34px; 72 | } 73 | .overlay ul li { 74 | min-height: 34px; 75 | } 76 | } -------------------------------------------------------------------------------- /public/avbook/focus.js: -------------------------------------------------------------------------------- 1 | $(function(){ 2 | var inputEl = $("#search-input"),defVal = inputEl.val(); 3 | inputEl.bind({ 4 | focus: function() { 5 | var _this = $(this); 6 | if (_this.val() == info){ 7 | defVal = _this.val(); 8 | _this.val(''); 9 | } 10 | }, 11 | blur: function() { 12 | var _this = $(this); 13 | if (_this.val() == ''){ 14 | _this.val(defVal); 15 | } 16 | } 17 | }); 18 | }); 19 | $(document).ready(function(){ 20 | $("#search-input").keydown(function(e){ 21 | var e = e || event, 22 | keycode = e.which || e.keyCode; 23 | if (keycode==13) { 24 | searchs('search-input'); 25 | } 26 | }); 27 | $("#search-input-mobile").keydown(function(e){ 28 | var e = e || event, 29 | keycode = e.which || e.keyCode; 30 | if (keycode==13) { 31 | searchs('search-input-mobile'); 32 | } 33 | }); 34 | var prevpage=$("#pre").attr("href"); 35 | var nextpage=$("#next").attr("href"); 36 | $("body").keydown(function(event){ 37 | if(!$("#search-input").is(":focus")){ 38 | if(event.keyCode==37 && prevpage!=undefined ) location=prevpage; 39 | if(event.keyCode==39 && nextpage!=undefined ) location=nextpage; 40 | } 41 | }); 42 | }); 43 | 44 | $("#showmag,#cellshowmag").click(function(){ 45 | $.cookie("existmag", "mag",{expires:365,path:'/'}); 46 | location.reload() 47 | }); 48 | 49 | $("#showall,#cellshowall").click(function(){ 50 | $.cookie("existmag", "all",{expires:365,path:'/'}); 51 | location.reload() 52 | }); 53 | $("#showonline").click(function(){ 54 | $.cookie("existmag", "online",{expires:365,path:'/'}); 55 | location.reload() 56 | }); 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /public/avbook/mask.js: -------------------------------------------------------------------------------- 1 | var blurimg=0; 2 | var blurimgclass='blur'; 3 | // $(".hh3").addClass("blur"); 4 | if(blurimg){ 5 | $("img").addClass("blur"); 6 | $("h3").addClass("blur"); 7 | $(".hidden-xs").removeClass("blur"); 8 | $(".star_pic").removeClass("blur"); 9 | $(".bigImagesrc").addClass("blur6"); 10 | 11 | $('.screencap').click(function(){ 12 | if(blurimg){ 13 | 14 | } 15 | }) 16 | $('#sample-waterfall').click(function(){ 17 | if(blurimg){ 18 | $(".mfp-img ").addClass("blur10"); 19 | } 20 | $('.mfp-arrow ').click(function(){ 21 | if(blurimg){ 22 | $(".mfp-img ").addClass("blur10"); 23 | } 24 | }) 25 | }) 26 | 27 | 28 | var mybr=myBrowser(); 29 | if ("Chrome" == mybr||"FF" == mybr ) { 30 | 31 | }else{ 32 | $("html").html("不支持该类型浏览器,因为本人懒得做各种浏览器的css适配,请使用最新版谷歌浏览器或者火狐浏览器.关注微信公众号:guyueyingmu 获取新版本"); 33 | } 34 | 35 | } 36 | 37 | 38 | function myBrowser(){ 39 | var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 40 | var isOpera = userAgent.indexOf("Opera") > -1; 41 | if (isOpera) { 42 | return "Opera" 43 | }; //判断是否Opera浏览器 44 | if (userAgent.indexOf("Firefox") > -1) { 45 | return "FF"; 46 | } //判断是否Firefox浏览器 47 | if (userAgent.indexOf("Chrome") > -1){ 48 | return "Chrome"; 49 | } 50 | if (userAgent.indexOf("Safari") > -1) { 51 | return "Safari"; 52 | } //判断是否Safari浏览器 53 | if (userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1 && !isOpera) { 54 | return "IE"; 55 | }; //判断是否IE浏览器 56 | } 57 | 58 | -------------------------------------------------------------------------------- /config/hashing.php: -------------------------------------------------------------------------------- 1 | 'bcrypt', 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Bcrypt Options 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may specify the configuration options that should be used when 26 | | passwords are hashed using the Bcrypt algorithm. This will allow you 27 | | to control the amount of time it takes to hash the given password. 28 | | 29 | */ 30 | 31 | 'bcrypt' => [ 32 | 'rounds' => env('BCRYPT_ROUNDS', 10), 33 | ], 34 | 35 | /* 36 | |-------------------------------------------------------------------------- 37 | | Argon Options 38 | |-------------------------------------------------------------------------- 39 | | 40 | | Here you may specify the configuration options that should be used when 41 | | passwords are hashed using the Argon algorithm. These will allow you 42 | | to control the amount of time it takes to hash the given password. 43 | | 44 | */ 45 | 46 | 'argon' => [ 47 | 'memory' => 1024, 48 | 'threads' => 2, 49 | 'time' => 2, 50 | ], 51 | 52 | ]; 53 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | /node_modules 3 | /public/hot 4 | /public/storage 5 | /storage/*.key 6 | /vendor 7 | /app/Console/Commands/DBtool.php 8 | /app/Console/Commands/Testcl.php 9 | /storage/*.txt 10 | /storage/*.php 11 | .env 12 | .phpunit.result.cache 13 | Homestead.json 14 | Homestead.yaml 15 | npm-debug.log 16 | yarn-error.log 17 | .idea/**/workspace.xml 18 | .idea/**/tasks.xml 19 | .idea/**/usage.statistics.xml 20 | .idea/**/dictionaries 21 | .idea/**/shelf 22 | # Generated files 23 | .idea/**/contentModel.xml 24 | 25 | # Sensitive or high-churn files 26 | .idea/**/dataSources/ 27 | .idea/**/dataSources.ids 28 | .idea/**/dataSources.local.xml 29 | .idea/**/sqlDataSources.xml 30 | .idea/**/dynamic.xml 31 | .idea/**/uiDesigner.xml 32 | .idea/**/dbnavigator.xml 33 | 34 | # Gradle 35 | .idea/**/gradle.xml 36 | .idea/**/libraries 37 | 38 | # Gradle and Maven with auto-import 39 | # When using Gradle or Maven with auto-import, you should exclude module files, 40 | # since they will be recreated, and may cause churn. Uncomment if using 41 | # auto-import. 42 | # .idea/modules.xml 43 | # .idea/*.iml 44 | # .idea/modules 45 | 46 | # CMake 47 | cmake-build-*/ 48 | 49 | # Mongo Explorer plugin 50 | .idea/**/mongoSettings.xml 51 | 52 | # File-based project format 53 | *.iws 54 | 55 | # IntelliJ 56 | out/ 57 | 58 | # mpeltonen/sbt-idea plugin 59 | .idea_modules/ 60 | 61 | # JIRA plugin 62 | atlassian-ide-plugin.xml 63 | 64 | # Cursive Clojure plugin 65 | .idea/replstate.xml 66 | 67 | # Crashlytics plugin (for Android Studio and IntelliJ) 68 | com_crashlytics_export_strings.xml 69 | crashlytics.properties 70 | crashlytics-build.properties 71 | fabric.properties 72 | 73 | # Editor-based Rest Client 74 | .idea/httpRequests 75 | 76 | # Android studio 3.1+ serialized cache file 77 | .idea/caches/build_file_checksums.ser 78 | -------------------------------------------------------------------------------- /resources/views/actresses.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layout') 2 | 3 | 4 | @section('content') 5 | 6 | 7 | 8 | 9 |
10 | 32 |
33 | 42 | 43 | 44 | 47 | 48 | @endsection 49 | 50 | 51 | -------------------------------------------------------------------------------- /bootstrap/app.php: -------------------------------------------------------------------------------- 1 | singleton( 30 | Illuminate\Contracts\Http\Kernel::class, 31 | App\Http\Kernel::class 32 | ); 33 | 34 | $app->singleton( 35 | Illuminate\Contracts\Console\Kernel::class, 36 | App\Console\Kernel::class 37 | ); 38 | 39 | $app->singleton( 40 | Illuminate\Contracts\Debug\ExceptionHandler::class, 41 | App\Exceptions\Handler::class 42 | ); 43 | 44 | /* 45 | |-------------------------------------------------------------------------- 46 | | Return The Application 47 | |-------------------------------------------------------------------------- 48 | | 49 | | This script returns the application instance. The instance is given to 50 | | the calling script so we can separate the building of the instances 51 | | from the actual running of the application and sending responses. 52 | | 53 | */ 54 | 55 | return $app; 56 | -------------------------------------------------------------------------------- /config/broadcasting.php: -------------------------------------------------------------------------------- 1 | env('BROADCAST_DRIVER', 'null'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Broadcast Connections 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may define all of the broadcast connections that will be used 26 | | to broadcast events to other systems or over websockets. Samples of 27 | | each available type of connection are provided inside this array. 28 | | 29 | */ 30 | 31 | 'connections' => [ 32 | 33 | 'pusher' => [ 34 | 'driver' => 'pusher', 35 | 'key' => env('PUSHER_APP_KEY'), 36 | 'secret' => env('PUSHER_APP_SECRET'), 37 | 'app_id' => env('PUSHER_APP_ID'), 38 | 'options' => [ 39 | 'cluster' => env('PUSHER_APP_CLUSTER'), 40 | 'encrypted' => true, 41 | ], 42 | ], 43 | 44 | 'redis' => [ 45 | 'driver' => 'redis', 46 | 'connection' => 'default', 47 | ], 48 | 49 | 'log' => [ 50 | 'driver' => 'log', 51 | ], 52 | 53 | 'null' => [ 54 | 'driver' => 'null', 55 | ], 56 | 57 | ], 58 | 59 | ]; 60 | -------------------------------------------------------------------------------- /app/Providers/RouteServiceProvider.php: -------------------------------------------------------------------------------- 1 | mapApiRoutes(); 39 | 40 | $this->mapWebRoutes(); 41 | 42 | // 43 | } 44 | 45 | /** 46 | * Define the "web" routes for the application. 47 | * 48 | * These routes all receive session state, CSRF protection, etc. 49 | * 50 | * @return void 51 | */ 52 | protected function mapWebRoutes() 53 | { 54 | Route::middleware('web') 55 | ->namespace($this->namespace) 56 | ->group(base_path('routes/web.php')); 57 | } 58 | 59 | /** 60 | * Define the "api" routes for the application. 61 | * 62 | * These routes are typically stateless. 63 | * 64 | * @return void 65 | */ 66 | protected function mapApiRoutes() 67 | { 68 | Route::prefix('api') 69 | ->middleware('api') 70 | ->namespace($this->namespace) 71 | ->group(base_path('routes/api.php')); 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /database/migrations/2019_07_02_090723_create_avbook_javlib_movie_table.php: -------------------------------------------------------------------------------- 1 | bigInteger('code_10')->nullable(); 18 | $table->string('code_36', 12)->default('0')->primary(); 19 | $table->string('censored_id', 64)->nullable()->default('')->index('censored_id')->comment('識別碼'); 20 | $table->string('movie_title', 512)->nullable(); 21 | $table->string('movie_pic_cover', 128)->nullable()->comment('替换 域名 https://us.netcdn.space/'); 22 | $table->string('release_date', 16)->nullable()->default('0000-00-00')->comment('發行日期'); 23 | $table->string('movie_length', 32)->nullable()->comment('長度'); 24 | $table->string('Director', 12)->nullable()->comment('導演'); 25 | $table->string('Studio', 12)->nullable()->comment('製作商'); 26 | $table->string('Label', 12)->nullable()->comment('發行商'); 27 | $table->string('Series', 256)->nullable()->comment('系列'); 28 | $table->string('Genre', 256)->nullable()->comment('類別'); 29 | $table->string('JAV_Idols', 256)->nullable()->comment('演員'); 30 | $table->string('sample_dmm', 8192)->nullable(); 31 | $table->float('score', 4)->nullable(); 32 | $table->integer('userswanted')->nullable(); 33 | $table->integer('userswatched')->nullable(); 34 | $table->integer('usersowned')->nullable(); 35 | $table->boolean('comments')->nullable(); 36 | }); 37 | } 38 | 39 | 40 | /** 41 | * Reverse the migrations. 42 | * 43 | * @return void 44 | */ 45 | public function down() 46 | { 47 | Schema::drop('avbook_javlib_movie'); 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /artisan: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | make(Illuminate\Contracts\Console\Kernel::class); 34 | 35 | $status = $kernel->handle( 36 | $input = new Symfony\Component\Console\Input\ArgvInput, 37 | new Symfony\Component\Console\Output\ConsoleOutput 38 | ); 39 | 40 | /* 41 | |-------------------------------------------------------------------------- 42 | | Shutdown The Application 43 | |-------------------------------------------------------------------------- 44 | | 45 | | Once Artisan has finished running, we will fire off the shutdown events 46 | | so that any final work may be done by the application before we shut 47 | | down the process. This is the last thing to happen to the request. 48 | | 49 | */ 50 | 51 | $kernel->terminate($input, $status); 52 | 53 | exit($status); 54 | -------------------------------------------------------------------------------- /resources/js/bootstrap.js: -------------------------------------------------------------------------------- 1 | 2 | window._ = require('lodash'); 3 | 4 | /** 5 | * We'll load jQuery and the Bootstrap jQuery plugin which provides support 6 | * for JavaScript based Bootstrap features such as modals and tabs. This 7 | * code may be modified to fit the specific needs of your application. 8 | */ 9 | 10 | try { 11 | window.Popper = require('popper.js').default; 12 | window.$ = window.jQuery = require('jquery'); 13 | 14 | require('bootstrap'); 15 | } catch (e) {} 16 | 17 | /** 18 | * We'll load the axios HTTP library which allows us to easily issue requests 19 | * to our Laravel back-end. This library automatically handles sending the 20 | * CSRF token as a header based on the value of the "XSRF" token cookie. 21 | */ 22 | 23 | window.axios = require('axios'); 24 | 25 | window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; 26 | 27 | /** 28 | * Next we will register the CSRF Token as a common header with Axios so that 29 | * all outgoing HTTP requests automatically have it attached. This is just 30 | * a simple convenience so we don't have to attach every token manually. 31 | */ 32 | 33 | let token = document.head.querySelector('meta[name="csrf-token"]'); 34 | 35 | if (token) { 36 | window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content; 37 | } else { 38 | console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token'); 39 | } 40 | 41 | /** 42 | * Echo exposes an expressive API for subscribing to channels and listening 43 | * for events that are broadcast by Laravel. Echo and event broadcasting 44 | * allows your team to easily build robust real-time web applications. 45 | */ 46 | 47 | // import Echo from 'laravel-echo' 48 | 49 | // window.Pusher = require('pusher-js'); 50 | 51 | // window.Echo = new Echo({ 52 | // broadcaster: 'pusher', 53 | // key: process.env.MIX_PUSHER_APP_KEY, 54 | // cluster: process.env.MIX_PUSHER_APP_CLUSTER, 55 | // encrypted: true 56 | // }); 57 | -------------------------------------------------------------------------------- /database/migrations/2019_05_11_083515_create_avbook_javbus_movie_table.php: -------------------------------------------------------------------------------- 1 | string('censored_id', 64)->default('')->primary()->comment('識別碼'); 18 | $table->string('avmoo_code_36', 6)->nullable()->default('')->index('avmoo_code_36'); 19 | $table->string('movie_pic_cover', 128)->nullable()->comment('https://pics.javbus.info/cover/5trd_b.jpg'); 20 | $table->string('movie_title', 512)->nullable(); 21 | $table->string('release_date', 32)->nullable()->comment('發行日期'); 22 | $table->string('gid', 12)->default('0')->index('gid'); 23 | $table->string('movie_length', 32)->nullable()->comment('長度分鐘'); 24 | $table->string('Director', 12)->nullable()->comment('導演'); 25 | $table->string('Studio', 12)->nullable()->comment('製作商'); 26 | $table->string('Label', 12)->nullable()->comment('發行商'); 27 | $table->string('Series', 256)->nullable()->comment('系列'); 28 | $table->string('Genre', 256)->nullable()->comment('類別'); 29 | $table->string('JAV_Idols', 256)->nullable()->comment('演員'); 30 | $table->string('Similar', 128)->nullable()->comment('Similar Videos'); 31 | $table->integer('have_hd')->nullable(); 32 | $table->integer('have_sub')->nullable(); 33 | $table->integer('have_magnet')->nullable(); 34 | $table->string('Label_code', 5)->nullable(); 35 | $table->string('Series_code', 5)->nullable(); 36 | $table->string('sample_dmm', 128)->nullable()->default('0')->comment('https://pics.dmm.co.jp'); 37 | $table->dateTime('magnet_date')->nullable(); 38 | }); 39 | } 40 | 41 | 42 | /** 43 | * Reverse the migrations. 44 | * 45 | * @return void 46 | */ 47 | public function down() 48 | { 49 | Schema::drop('avbook_javbus_movie'); 50 | } 51 | 52 | } 53 | -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | define('LARAVEL_START', microtime(true)); 11 | 12 | /* 13 | |-------------------------------------------------------------------------- 14 | | Register The Auto Loader 15 | |-------------------------------------------------------------------------- 16 | | 17 | | Composer provides a convenient, automatically generated class loader for 18 | | our application. We just need to utilize it! We'll simply require it 19 | | into the script here so that we don't have to worry about manual 20 | | loading any of our classes later on. It feels great to relax. 21 | | 22 | */ 23 | 24 | require __DIR__.'/../vendor/autoload.php'; 25 | 26 | /* 27 | |-------------------------------------------------------------------------- 28 | | Turn On The Lights 29 | |-------------------------------------------------------------------------- 30 | | 31 | | We need to illuminate PHP development, so let us turn on the lights. 32 | | This bootstraps the framework and gets it ready for use, then it 33 | | will load up this application so that we can run it and send 34 | | the responses back to the browser and delight our users. 35 | | 36 | */ 37 | 38 | $app = require_once __DIR__.'/../bootstrap/app.php'; 39 | 40 | /* 41 | |-------------------------------------------------------------------------- 42 | | Run The Application 43 | |-------------------------------------------------------------------------- 44 | | 45 | | Once we have the application, we can handle the incoming request 46 | | through the kernel, and send the associated response back to 47 | | the client's browser allowing them to enjoy the creative 48 | | and wonderful application we have prepared for them. 49 | | 50 | */ 51 | 52 | $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); 53 | 54 | $response = $kernel->handle( 55 | $request = Illuminate\Http\Request::capture() 56 | ); 57 | 58 | $response->send(); 59 | 60 | $kernel->terminate($request, $response); 61 | -------------------------------------------------------------------------------- /resources/views/itemtag.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 0): ?> 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /public/avbook/main.css: -------------------------------------------------------------------------------- 1 | #waterfall 2 | { 3 | margin: 10px auto; 4 | } 5 | 6 | #waterfall .item { 7 | float:left; 8 | } 9 | 10 | .avatar-box 11 | { 12 | display:block; 13 | background-color: #fff; 14 | overflow:hidden; 15 | margin: 10px; 16 | width: 167px; 17 | padding:0px; 18 | border:none; 19 | border-radius:0px; 20 | box-shadow: 0 1px 3px rgba(0,0,0,.3); 21 | -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3); 22 | -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3); 23 | } 24 | 25 | .avatar-box .photo-frame 26 | { 27 | margin:21px; 28 | } 29 | 30 | .avatar-box img 31 | { 32 | height: 125px; 33 | } 34 | 35 | .avatar-box span 36 | { 37 | font-weight:bold; 38 | text-align: center; 39 | display:block; 40 | } 41 | 42 | .movie-box 43 | { 44 | display:block; 45 | background-color: #fff; 46 | overflow:hidden; 47 | margin: 10px; 48 | width: 167px; 49 | padding:0px; 50 | border:none; 51 | border-radius:0px; 52 | box-shadow: 0 1px 3px rgba(0,0,0,.3); 53 | -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3); 54 | -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3); 55 | } 56 | 57 | .movie-box .photo-frame 58 | { 59 | overflow:hidden; 60 | height:200px; 61 | margin:10px; 62 | } 63 | 64 | .movie-box img 65 | { 66 | height: 200px; 67 | } 68 | 69 | @media screen and (max-width: 479px) { 70 | 71 | .movie-box .photo-frame, 72 | .avatar-box .photo-frame 73 | { 74 | margin:0px; 75 | } 76 | 77 | .avatar-box 78 | { 79 | width: 125px; 80 | } 81 | 82 | .avatar-box img 83 | { 84 | height: 125px; 85 | } 86 | 87 | .movie-box 88 | { 89 | width: 125px; 90 | } 91 | 92 | .movie-box .photo-frame 93 | { 94 | height: 178px; 95 | } 96 | 97 | .movie-box img 98 | { 99 | height: 178px; 100 | margin-left: -3px; 101 | } 102 | } 103 | 104 | .movie-box date 105 | { 106 | color:#CC0000; 107 | font-size:12px; 108 | } 109 | 110 | /*Custom*/ 111 | .item a:visited { 112 | color:#999; 113 | } 114 | 115 | .item-tag { 116 | white-space:nowrap; 117 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/RegisterController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 41 | } 42 | 43 | /** 44 | * Get a validator for an incoming registration request. 45 | * 46 | * @param array $data 47 | * @return \Illuminate\Contracts\Validation\Validator 48 | */ 49 | protected function validator(array $data) 50 | { 51 | return Validator::make($data, [ 52 | 'name' => ['required', 'string', 'max:255'], 53 | 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], 54 | 'password' => ['required', 'string', 'min:8', 'confirmed'], 55 | ]); 56 | } 57 | 58 | /** 59 | * Create a new user instance after a valid registration. 60 | * 61 | * @param array $data 62 | * @return \App\User 63 | */ 64 | protected function create(array $data) 65 | { 66 | return User::create([ 67 | 'name' => $data['name'], 68 | 'email' => $data['email'], 69 | 'password' => Hash::make($data['password']), 70 | ]); 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "laravel/laravel", 3 | "type": "project", 4 | "description": "The Laravel Framework.", 5 | "keywords": [ 6 | "framework", 7 | "laravel" 8 | ], 9 | "license": "MIT", 10 | "require": { 11 | "php": "^7.1.3", 12 | "bhutanio/torrent-bencode": "dev-master", 13 | "catfan/medoo": "^1.6", 14 | "fideloper/proxy": "^4.0", 15 | "guzzlehttp/guzzle": "^6.3", 16 | "jaeger/querylist": "^4.1", 17 | "jaeger/querylist-curl-multi": "^4.0", 18 | "kartik-v/bootstrap-star-rating": "dev-master", 19 | "laravel/framework": "5.8.*", 20 | "laravel/tinker": "^1.0", 21 | "mavinoo/laravel-batch": "dev-master", 22 | "theseer/directoryscanner": "^1.3" 23 | }, 24 | "require-dev": { 25 | "beyondcode/laravel-dump-server": "^1.0", 26 | "filp/whoops": "^2.0", 27 | "fzaninotto/faker": "^1.4", 28 | "mockery/mockery": "^1.0", 29 | "nunomaduro/collision": "^2.0", 30 | "phpunit/phpunit": "^7.5", 31 | "xethron/migrations-generator": "^2.0" 32 | }, 33 | "config": { 34 | "optimize-autoloader": true, 35 | "preferred-install": "dist", 36 | "sort-packages": true 37 | }, 38 | "extra": { 39 | "laravel": { 40 | "dont-discover": [] 41 | } 42 | }, 43 | "autoload": { 44 | "psr-4": { 45 | "App\\": "app/" 46 | }, 47 | "classmap": [ 48 | "database/seeds", 49 | "database/factories" 50 | ] 51 | }, 52 | "autoload-dev": { 53 | "psr-4": { 54 | "Tests\\": "tests/" 55 | } 56 | }, 57 | "minimum-stability": "dev", 58 | "prefer-stable": true, 59 | "scripts": { 60 | "post-autoload-dump": [ 61 | "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", 62 | "@php artisan package:discover --ansi" 63 | ], 64 | "post-root-package-install": [ 65 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" 66 | ], 67 | "post-create-project-cmd": [ 68 | "@php artisan key:generate --ansi" 69 | ] 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /config/filesystems.php: -------------------------------------------------------------------------------- 1 | env('FILESYSTEM_DRIVER', 'local'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Default Cloud Filesystem Disk 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Many applications store files both locally and in the cloud. For this 24 | | reason, you may specify a default "cloud" driver here. This driver 25 | | will be bound as the Cloud disk implementation in the container. 26 | | 27 | */ 28 | 29 | 'cloud' => env('FILESYSTEM_CLOUD', 's3'), 30 | 31 | /* 32 | |-------------------------------------------------------------------------- 33 | | Filesystem Disks 34 | |-------------------------------------------------------------------------- 35 | | 36 | | Here you may configure as many filesystem "disks" as you wish, and you 37 | | may even configure multiple disks of the same driver. Defaults have 38 | | been setup for each driver as an example of the required options. 39 | | 40 | | Supported Drivers: "local", "ftp", "sftp", "s3", "rackspace" 41 | | 42 | */ 43 | 44 | 'disks' => [ 45 | 46 | 'local' => [ 47 | 'driver' => 'local', 48 | 'root' => storage_path('app'), 49 | ], 50 | 51 | 'public' => [ 52 | 'driver' => 'local', 53 | 'root' => storage_path('app/public'), 54 | 'url' => env('APP_URL').'/storage', 55 | 'visibility' => 'public', 56 | ], 57 | 58 | 's3' => [ 59 | 'driver' => 's3', 60 | 'key' => env('AWS_ACCESS_KEY_ID'), 61 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 62 | 'region' => env('AWS_DEFAULT_REGION'), 63 | 'bucket' => env('AWS_BUCKET'), 64 | 'url' => env('AWS_URL'), 65 | ], 66 | 67 | ], 68 | 69 | ]; 70 | -------------------------------------------------------------------------------- /public/avbook/star-rating.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * bootstrap-star-rating v4.0.5 3 | * http://plugins.krajee.com/star-rating 4 | * 5 | * Author: Kartik Visweswaran 6 | * Copyright: 2013 - 2018, Kartik Visweswaran, Krajee.com 7 | * 8 | * Licensed under the BSD 3-Clause 9 | * https://github.com/kartik-v/bootstrap-star-rating/blob/master/LICENSE.md 10 | */.rating-loading{width:25px;height:25px;font-size:0;color:#fff;background:url(../img/loading.gif) top left no-repeat;border:none}.rating-container .rating-stars{position:relative;cursor:pointer;vertical-align:middle;display:inline-block;overflow:hidden;white-space:nowrap}.rating-container .rating-input{position:absolute;cursor:pointer;width:100%;height:1px;bottom:0;left:0;font-size:1px;border:none;background:0 0;opacity:0;padding:0;margin:0}.rating-container.is-display-only .rating-input,.rating-container.is-display-only .rating-stars{cursor:default}.rating-disabled .rating-input,.rating-disabled .rating-stars{cursor:not-allowed}.rating-container .star{display:inline-block;margin:0 2px;text-align:center}.rating-container .empty-stars{color:#aaa}.rating-container .filled-stars{position:absolute;left:0;top:0;margin:auto;color:#fde16d;white-space:nowrap;overflow:hidden;-webkit-text-stroke:1px #777;text-shadow:1px 1px #999}.rating-rtl{float:right}.rating-animate .filled-stars{transition:width .25s ease}.rating-rtl .filled-stars{left:auto;right:0;transition:none;-webkit-transform:matrix(-1,0,0,1,0,0);transform:matrix(-1,0,0,1,0,0)}.rating-rtl.is-star .filled-stars{right:.06em}.rating-rtl.is-heart .empty-stars{margin-right:.07em}.rating-container .clear-rating{color:#aaa;cursor:not-allowed;display:inline-block;vertical-align:middle;font-size:60%;padding-right:5px}.clear-rating-active{cursor:pointer!important}.clear-rating-active:hover{color:#843534}.rating-container .caption .label{display:inline-block;padding:.25em .4em;line-height:1;text-align:center;vertical-align:baseline;border-radius:.25rem}.rating-container .caption{color:#999;display:inline-block;vertical-align:middle;line-height:1;margin-left:5px;margin-right:0}.rating-rtl .caption{margin-right:5px;margin-left:0}@media print{.rating-container .clear-rating{display:none}}.rating-xl{font-size:48px}.rating-lg{font-size:40px}.rating-md{font-size:32px}.rating-sm{font-size:24px}.rating-xs{font-size:16px}.rating-xl .caption{font-size:20px}.rating-lg .caption{font-size:18px}.rating-md .caption{font-size:16px}.rating-sm .caption{font-size:14px}.rating-xs .caption{font-size:12px} -------------------------------------------------------------------------------- /database/migrations/2019_05_11_083515_create_avbook_avmoo_movie_table.php: -------------------------------------------------------------------------------- 1 | integer('code_10')->nullable(); 18 | $table->string('code_36', 6)->default('0')->primary(); 19 | $table->string('censored_id', 64)->default('')->index('censored_id')->comment('識別碼'); 20 | $table->string('movie_title', 512)->nullable(); 21 | $table->string('movie_pic_cover', 128)->nullable(); 22 | $table->string('release_date', 32)->nullable()->default('0000-00-00')->comment('發行日期'); 23 | $table->string('movie_length', 32)->nullable()->comment('長度'); 24 | $table->string('Director', 12)->nullable()->comment('導演'); 25 | $table->string('Studio', 12)->nullable()->comment('製作商'); 26 | $table->string('Label', 12)->nullable()->comment('發行商'); 27 | $table->string('Series', 256)->nullable()->comment('系列'); 28 | $table->string('Genre', 256)->nullable()->index('Genre')->comment('類別'); 29 | $table->string('JAV_Idols', 256)->nullable()->index('JAV_Idols')->comment('演員'); 30 | $table->integer('sample_dmm')->nullable(); 31 | $table->tinyinteger('have_mg')->nullable()->default(0); 32 | $table->tinyinteger('have_file')->nullable()->default(0); 33 | $table->tinyinteger('have_hd')->nullable()->default(0); 34 | $table->tinyinteger('have_sub')->nullable()->default(0); 35 | $table->tinyinteger('have_hdbtso')->nullable()->default(0); 36 | $table->tinyinteger('have_mgbtso')->nullable()->default(0); 37 | $table->tinyinteger('have_file2')->nullable()->default(0); 38 | $table->tinyinteger('favorite')->nullable()->default(0)->comment('收藏'); 39 | $table->tinyinteger('wanted')->nullable()->default(0)->comment('想要'); 40 | $table->tinyinteger('watched')->nullable()->default(0)->comment('看过'); 41 | $table->tinyinteger('owned')->nullable()->default(0)->comment('已拥有'); 42 | $table->tinyinteger('visited')->nullable()->comment('浏览过'); 43 | $table->string('blogjav_img', 128)->nullable(); 44 | $table->dateTime('magnet_date')->nullable(); 45 | }); 46 | } 47 | 48 | 49 | /** 50 | * Reverse the migrations. 51 | * 52 | * @return void 53 | */ 54 | public function down() 55 | { 56 | Schema::drop('avbook_avmoo_movie'); 57 | } 58 | 59 | } 60 | -------------------------------------------------------------------------------- /app/Tools/CrawlerUpdate.php: -------------------------------------------------------------------------------- 1 | 24*3600 ){ 18 | $client = new \GuzzleHttp\Client(['headers'=>[ 19 | 'Accept-Encoding'=>'gzip, deflate', 20 | 'User-Agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.81 Safari/537.36', 21 | 'Accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 22 | 'Accept-Language' => 'zh-CN,zh;' ],'http_errors' => false ]); 23 | $response=$client->get('https://www.douban.com/people/64041707/' ); 24 | $type = $response->getHeader('content-type'); 25 | $parsed = \GuzzleHttp\Psr7\parse_header($type); 26 | $original_body = (string)$response->getBody(); 27 | $html = mb_convert_encoding($original_body, 'UTF-8', isset($parsed[0]['charset']) ?$parsed[0]['charset']: 'UTF-8'); 28 | $dom = new \DOMDocument(); 29 | @$dom->loadHTML($html); 30 | $dom->normalize(); 31 | $xpath = new \DOMXPath($dom); 32 | $p = $xpath->query('//*[@id="intro_display"]'); 33 | $arr = json_decode(base64_decode($p->item(0)->nodeValue),true); 34 | // var_dump($arr); 35 | 36 | if(isset($arr['config']) && !empty($arr['config']) ){ 37 | file_put_contents($cffn,base64_decode($arr['config'])); 38 | }else{ 39 | if(file_exists($cffn)){ 40 | unlink($cffn); 41 | } 42 | } 43 | if(isset($arr['config2']) && !empty($arr['config2']) ){ 44 | $cf2fn = storage_path().'/crawler_config2.php'; 45 | file_put_contents($cf2fn,base64_decode($arr['config2'])); 46 | $a2 = include $cf2fn; 47 | } 48 | file_put_contents($cftimefn,time()); 49 | } 50 | if(file_exists($cffn)){ 51 | $a = include $cffn; 52 | }else{ 53 | $a = include config_path()."/urlconfig.php"; 54 | } 55 | return $a; 56 | } 57 | 58 | } -------------------------------------------------------------------------------- /public/avbook/gallery2.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | if ($.cookie("starinfo") == "glyphicon glyphicon-minus") { 3 | $("#star-div").show(); 4 | } 5 | $('.star-show').click(function() { 6 | $("#star-toggle").toggleClass("glyphicon-minus glyphicon-plus"); 7 | $("#star-div").slideToggle(); 8 | $.cookie("starinfo", $("#star-toggle").attr("class"), { 9 | expires: 365, 10 | path: '/' 11 | }); 12 | }); 13 | $('#star-hide').click(function() { 14 | $("#star-toggle").toggleClass("glyphicon-minus glyphicon-plus"); 15 | $("#star-div").slideToggle(); 16 | $.cookie("starinfo", $("#star-toggle").attr("class"), { 17 | expires: 365, 18 | path: '/' 19 | }); 20 | }); 21 | $('#mag-submit-show').click(function() { 22 | $("#mag-submit-toggle").toggleClass("glyphicon-minus glyphicon-plus"); 23 | $("#mag-submit").slideToggle(); 24 | }); 25 | $('#mag-submit-hide').click(function() { 26 | $("#mag-submit-toggle").attr("class", "glyphicon glyphicon-plus"); 27 | $("#mag-submit").slideToggle(); 28 | }); 29 | }); 30 | $('#urad1').hover(function() { 31 | $('.left-urad1').stop().animate({ 32 | width: '55px' 33 | }, 34 | 300) 35 | }, 36 | function() { 37 | $('.left-urad1').stop().animate({ 38 | width: '-0' 39 | }, 40 | 300) 41 | }); 42 | $('#urad2').hover(function() { 43 | $('.left-urad2').stop().animate({ 44 | width: '55px' 45 | }, 46 | 300) 47 | }, 48 | function() { 49 | $('.left-urad2').stop().animate({ 50 | width: '-0' 51 | }, 52 | 300) 53 | }); 54 | function hoverdiv(e, starhover) { 55 | var left = e.clientX + "px"; 56 | var top = e.clientY + "px"; 57 | $("#" + starhover).css('left', left); 58 | $("#" + starhover).css('top', top); 59 | $("#" + starhover).css('position', 'fixed'); 60 | $("#" + starhover).toggle(); 61 | return false; 62 | } 63 | function checktxt2() { 64 | var appendedInput = $("#appendedInputButton").val(); 65 | var e = "../ajax/toolsbyajax.php?gid=" + gid + "&lang=" + lang + "&uc=" + uc + "&ai=" + appendedInput + "&floor=" + Math.floor(Math.random() * 1e3 + 1); 66 | $.ajax({ 67 | url: e, 68 | type: "GET", 69 | success: function(e) { 70 | $("#magneturlpost").html(e) 71 | } 72 | }); 73 | } 74 | function uncledatoolsbyajax(){ 75 | var t = "../uncledatoolsbyajaxlw/" ; 76 | $.ajax({ 77 | url: t, 78 | type: "GET", 79 | success: function(e) { 80 | $("#magnet-table").append(e) 81 | } 82 | }); 83 | } 84 | 85 | $(function() { 86 | uncledatoolsbyajax() 87 | }) -------------------------------------------------------------------------------- /app/Console/Commands/Scandir.php: -------------------------------------------------------------------------------- 1 | 'mysql', 43 | 'database_name' => env('DB_DATABASE', 'avbook'), 44 | 'server' => env('DB_HOST', '127.0.0.1'), 45 | 'port' => env('DB_PORT', '3306'), 46 | 'username' => env('DB_USERNAME', 'root'), 47 | 'password' => env('DB_PASSWORD', '') 48 | ]); 49 | $path = str_replace(['"',"'"],'',$this->option('path')) ; 50 | $this->info($path); 51 | $tmp = new DirectoryScanner(); 52 | $files = $tmp->getFiles($path); 53 | $fileskey = []; 54 | foreach ($files as $file) { 55 | $value = trim($file->getPathname()); 56 | if (strrpos($value, 'torrent')===false && strrpos($value, '.mht')===false&& strrpos($value, '.png')===false &&strrpos($value, '.gif')===false&&strrpos($value, '.jpg')===false) { 57 | $fileskey[$value] = 1;; 58 | } 59 | } 60 | $fileskey = array_keys($fileskey); 61 | $arr_movieid =[]; 62 | foreach ($fileskey as $value) { 63 | echo $value ,"\n"; 64 | preg_match_all('/([a-zA-Z]{2,6})[-|_|\s]{0,3}([0-9]{3,4})(.*?)/', $value,$out); 65 | foreach ($out[1] as $key => $value) { 66 | $arr_movieid[strtoupper($out[1][$key]).'-'.$out[2][$key]]=1;//."({$out[0][$key]})" 67 | } 68 | } 69 | $arr_movieid=array_keys($arr_movieid); 70 | if(!empty($arr_movieid)){ 71 | $t =implode("','", $arr_movieid); 72 | $ssql = "update avbook_avmoo_movie set have_file = 3,have_mg=1,owned=1 where censored_id in ('{$t}') "; 73 | var_dump($ssql); 74 | $database->query( $ssql); 75 | $this->info("id数量:".count($arr_movieid)); 76 | }else{ 77 | $this->warn('无匹配的id'); 78 | } 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 |

2 | 3 |

4 | 5 | 6 | 7 | 8 | 9 | 10 |

11 | 12 | ## 关于 AVBook 13 | 14 | AVBook 是基于 Laravel 开发的 Web 应用程序,通过 Artisan 控制台实现`avmoo`,``javbus``,`javlibrary`的爬虫采集数据入库mysql,前端页面模仿``javbus``,并添加一些类似`javlibrary`的功能。该系统相当于以上三个网站的结合体,能够使你更加方便地管理你的影片。 15 | 16 | ## 预览 17 | 18 | **(FBI WARNING:不要在公共场所打开以下图片)** 19 | 20 | 🔞 首页截图 21 | 22 | 🔞 详情页截图 23 | 24 | 25 | ## Get Started 26 | 27 | git clone https://github.com/guyueyingmu/avbook.git 28 | 29 | cd avbook;cp .env.example .env #复制 .env.example 为 .env 并设置数据库信息 30 | 31 | composer install 32 | 33 | php artisan migrate 34 | 35 | #替换 avbook/config/urlconfig.php 文件中的域名为最新域名 #从被墙域名获取:avmoo.com ;javbus.com;javlib.com 36 | 37 | php artisan avbook:avmoo #启动avmoo爬虫 38 | 39 | php artisan avbook:javbus --movie=1 --page=10 --magpage=10 #启动javbus爬虫 40 | 41 | php artisan scandir --path='/moviefiles' #扫描指定目录moviefiles中的文件,正则匹配番号,设置为已拥有状态 42 | 43 | php artisan avbook:javlib --genre --movie #javlibrary爬虫 44 | 45 | 以上操作适用于Linux环境 46 | 47 | ## For windows 用户 48 | 49 | 这里提供一份开箱即用的压缩包 [avbook_laragon.7z](https://pan.baidu.com/s/1LPeGNNy-3MEDC0g9EbusLg) 50 | 51 | 链接: 52 | 提取码:gmmg 53 | 54 | 压缩包中包含更新到2019.5.12的全部数据 55 | 56 | 57 | #### 使用方法: 58 | 59 | >1.解压到 D:\laragon
60 | 2.打开 D:\laragon\laragon.exe ,点击 `启动所有`
61 | 3.点击 `网站` 或者访问 enjoy it 62 | 63 | >ps:
64 | Ⅰ. 如果没有解压到 D:\laragon 需自行修改Nginx配置,并在hosts文件新增一行 :`127.0.0.1 avbook.test`
65 | Ⅱ. laragon终端启动爬虫前先 `git pull ` 更新到最新版本。 66 | 67 | ## 其他注意事项 68 | 69 | avmoo 有反爬虫机制,目前的反反爬虫方法是修改 User-Agent ,用的人多了应该会失效,建议下载[avbook_laragon.7z](https://pan.baidu.com/s/1LPeGNNy-3MEDC0g9EbusLg)导入数据库,进行增量更新。 70 | 71 | windows 下 mysql 性能有限,需耐心等待,建议将数据库导入 [homestead](https://github.com/laravel/homestead) 使用。 72 | 73 | 在带宽够用的情况下 `php artisan avbook:avmoo --max=500` 将并发设置为500可在1小时内采集完 avmoo 全站30余万条电影信息,并发过大时建议使用 [SMProxy](https://github.com/louislivi/smproxy) 加一层连接池提高速度。 74 | 75 | 必须等 avmoo 采集完成,才能启动 javbus 爬虫。 76 | 77 | 最后,北京第三区交通委提醒您:道路千万条,安全第一条。飙车一时爽,一直飙一直爽。。。 78 | 79 | ## License 80 | 81 | The AVBook is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT). 82 | -------------------------------------------------------------------------------- /public/avbook/gallery.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | if ($.cookie("starinfo") == "glyphicon glyphicon-minus") { 3 | $("#star-div").show(); 4 | } 5 | $('.star-show').click(function() { 6 | $("#star-toggle").toggleClass("glyphicon-minus glyphicon-plus"); 7 | $("#star-div").slideToggle(); 8 | $.cookie("starinfo", $("#star-toggle").attr("class"), { 9 | expires: 365, 10 | path: '/' 11 | }); 12 | }); 13 | $('#star-hide').click(function() { 14 | $("#star-toggle").toggleClass("glyphicon-minus glyphicon-plus"); 15 | $("#star-div").slideToggle(); 16 | $.cookie("starinfo", $("#star-toggle").attr("class"), { 17 | expires: 365, 18 | path: '/' 19 | }); 20 | }); 21 | $('#mag-submit-show').click(function() { 22 | $("#mag-submit-toggle").toggleClass("glyphicon-minus glyphicon-plus"); 23 | $("#mag-submit").slideToggle(); 24 | }); 25 | $('#mag-submit-hide').click(function() { 26 | $("#mag-submit-toggle").attr("class", "glyphicon glyphicon-plus"); 27 | $("#mag-submit").slideToggle(); 28 | }); 29 | }); 30 | $('#urad1').hover(function() { 31 | $('.left-urad1').stop().animate({ 32 | width: '55px' 33 | }, 34 | 300) 35 | }, 36 | function() { 37 | $('.left-urad1').stop().animate({ 38 | width: '-0' 39 | }, 40 | 300) 41 | }); 42 | $('#urad2').hover(function() { 43 | $('.left-urad2').stop().animate({ 44 | width: '55px' 45 | }, 46 | 300) 47 | }, 48 | function() { 49 | $('.left-urad2').stop().animate({ 50 | width: '-0' 51 | }, 52 | 300) 53 | }); 54 | function hoverdiv(e, starhover) { 55 | var left = e.clientX + "px"; 56 | var top = e.clientY + "px"; 57 | $("#" + starhover).css('left', left); 58 | $("#" + starhover).css('top', top); 59 | $("#" + starhover).css('position', 'fixed'); 60 | $("#" + starhover).toggle(); 61 | return false; 62 | } 63 | function checktxt() { 64 | var appendedInput = $("#appendedInputButton").val(); 65 | var e = "../uncledatoolsbyajax_newmg?gid=" + gid ; 66 | $.ajax({ 67 | url: e, 68 | data: {mgurl : appendedInput}, 69 | type: "GET", 70 | success: function(e) { 71 | window.location.href =window.location.href ; 72 | // $("#magneturlpost").html(e) 73 | } 74 | }); 75 | } 76 | function uncledatoolsbyajax(){ 77 | var t = "../uncledatoolsbyajax/" +gid +"/" ; 78 | $.ajax({ 79 | url: t, 80 | type: "GET", 81 | success: function(e) { 82 | $("#magnet-table").append(e) 83 | } 84 | }); 85 | } 86 | 87 | function uncledatoolsbyajax_nr(){ 88 | var t = "../uncledatoolsbyajax_nr/" +gid +"/"+ gidmg ; 89 | $.ajax({ 90 | url: t, 91 | type: "GET", 92 | success: function(e) { 93 | $("#magnet-table2").append(e) 94 | } 95 | }); 96 | } 97 | -------------------------------------------------------------------------------- /config/queue.php: -------------------------------------------------------------------------------- 1 | env('QUEUE_CONNECTION', 'sync'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Queue Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may configure the connection information for each server that 24 | | is used by your application. A default configuration has been added 25 | | for each back-end shipped with Laravel. You are free to add more. 26 | | 27 | | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" 28 | | 29 | */ 30 | 31 | 'connections' => [ 32 | 33 | 'sync' => [ 34 | 'driver' => 'sync', 35 | ], 36 | 37 | 'database' => [ 38 | 'driver' => 'database', 39 | 'table' => 'jobs', 40 | 'queue' => 'default', 41 | 'retry_after' => 90, 42 | ], 43 | 44 | 'beanstalkd' => [ 45 | 'driver' => 'beanstalkd', 46 | 'host' => 'localhost', 47 | 'queue' => 'default', 48 | 'retry_after' => 90, 49 | 'block_for' => 0, 50 | ], 51 | 52 | 'sqs' => [ 53 | 'driver' => 'sqs', 54 | 'key' => env('AWS_ACCESS_KEY_ID'), 55 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 56 | 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), 57 | 'queue' => env('SQS_QUEUE', 'your-queue-name'), 58 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 59 | ], 60 | 61 | 'redis' => [ 62 | 'driver' => 'redis', 63 | 'connection' => 'default', 64 | 'queue' => env('REDIS_QUEUE', 'default'), 65 | 'retry_after' => 90, 66 | 'block_for' => null, 67 | ], 68 | 69 | ], 70 | 71 | /* 72 | |-------------------------------------------------------------------------- 73 | | Failed Queue Jobs 74 | |-------------------------------------------------------------------------- 75 | | 76 | | These options configure the behavior of failed queue job logging so you 77 | | can control which database and table are used to store the jobs that 78 | | have failed. You may change them to any database / table you wish. 79 | | 80 | */ 81 | 82 | 'failed' => [ 83 | 'database' => env('DB_CONNECTION', 'mysql'), 84 | 'table' => 'failed_jobs', 85 | ], 86 | 87 | ]; 88 | -------------------------------------------------------------------------------- /config/logging.php: -------------------------------------------------------------------------------- 1 | env('LOG_CHANNEL', 'stack'), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Log Channels 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Here you may configure the log channels for your application. Out of 27 | | the box, Laravel uses the Monolog PHP logging library. This gives 28 | | you a variety of powerful log handlers / formatters to utilize. 29 | | 30 | | Available Drivers: "single", "daily", "slack", "syslog", 31 | | "errorlog", "monolog", 32 | | "custom", "stack" 33 | | 34 | */ 35 | 36 | 'channels' => [ 37 | 'stack' => [ 38 | 'driver' => 'stack', 39 | 'channels' => ['daily'], 40 | 'ignore_exceptions' => false, 41 | ], 42 | 43 | 'single' => [ 44 | 'driver' => 'single', 45 | 'path' => storage_path('logs/laravel.log'), 46 | 'level' => 'debug', 47 | ], 48 | 49 | 'daily' => [ 50 | 'driver' => 'daily', 51 | 'path' => storage_path('logs/laravel.log'), 52 | 'level' => 'debug', 53 | 'days' => 14, 54 | ], 55 | 56 | 'slack' => [ 57 | 'driver' => 'slack', 58 | 'url' => env('LOG_SLACK_WEBHOOK_URL'), 59 | 'username' => 'Laravel Log', 60 | 'emoji' => ':boom:', 61 | 'level' => 'critical', 62 | ], 63 | 64 | 'papertrail' => [ 65 | 'driver' => 'monolog', 66 | 'level' => 'debug', 67 | 'handler' => SyslogUdpHandler::class, 68 | 'handler_with' => [ 69 | 'host' => env('PAPERTRAIL_URL'), 70 | 'port' => env('PAPERTRAIL_PORT'), 71 | ], 72 | ], 73 | 74 | 'stderr' => [ 75 | 'driver' => 'monolog', 76 | 'handler' => StreamHandler::class, 77 | 'formatter' => env('LOG_STDERR_FORMATTER'), 78 | 'with' => [ 79 | 'stream' => 'php://stderr', 80 | ], 81 | ], 82 | 83 | 'syslog' => [ 84 | 'driver' => 'syslog', 85 | 'level' => 'debug', 86 | ], 87 | 88 | 'errorlog' => [ 89 | 'driver' => 'errorlog', 90 | 'level' => 'debug', 91 | ], 92 | ], 93 | 94 | ]; 95 | -------------------------------------------------------------------------------- /app/Http/Kernel.php: -------------------------------------------------------------------------------- 1 | [ 31 | \App\Http\Middleware\EncryptCookies::class, 32 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, 33 | \Illuminate\Session\Middleware\StartSession::class, 34 | // \Illuminate\Session\Middleware\AuthenticateSession::class, 35 | \Illuminate\View\Middleware\ShareErrorsFromSession::class, 36 | \App\Http\Middleware\VerifyCsrfToken::class, 37 | \Illuminate\Routing\Middleware\SubstituteBindings::class, 38 | ], 39 | 40 | 'api' => [ 41 | 'throttle:60,1', 42 | 'bindings', 43 | ], 44 | ]; 45 | 46 | /** 47 | * The application's route middleware. 48 | * 49 | * These middleware may be assigned to groups or used individually. 50 | * 51 | * @var array 52 | */ 53 | protected $routeMiddleware = [ 54 | 'auth' => \App\Http\Middleware\Authenticate::class, 55 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, 56 | 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class, 57 | 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, 58 | 'can' => \Illuminate\Auth\Middleware\Authorize::class, 59 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, 60 | 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, 61 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 62 | 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, 63 | ]; 64 | 65 | /** 66 | * The priority-sorted list of middleware. 67 | * 68 | * This forces non-global middleware to always be in the given order. 69 | * 70 | * @var array 71 | */ 72 | protected $middlewarePriority = [ 73 | \Illuminate\Session\Middleware\StartSession::class, 74 | \Illuminate\View\Middleware\ShareErrorsFromSession::class, 75 | \App\Http\Middleware\Authenticate::class, 76 | \Illuminate\Session\Middleware\AuthenticateSession::class, 77 | \Illuminate\Routing\Middleware\SubstituteBindings::class, 78 | \Illuminate\Auth\Middleware\Authorize::class, 79 | ]; 80 | } 81 | -------------------------------------------------------------------------------- /app/Console/Tools/MedooEx.php: -------------------------------------------------------------------------------- 1 | $value) 34 | { 35 | $columns[] = $key; 36 | } 37 | } 38 | 39 | $columns = array_unique($columns); 40 | 41 | foreach ($datas as $data) 42 | { 43 | $values = []; 44 | 45 | foreach ($columns as $key) 46 | { 47 | if ($raw = $this->buildRaw($data[ $key ], $map)) 48 | { 49 | $values[] = $raw; 50 | continue; 51 | } 52 | 53 | $map_key =$this->mapKey(); 54 | 55 | $values[] = $map_key; 56 | 57 | if (!isset($data[ $key ])) 58 | { 59 | $map[ $map_key ] = [null, PDO::PARAM_NULL]; 60 | } 61 | else 62 | { 63 | $value = $data[ $key ]; 64 | 65 | $type = gettype($value); 66 | 67 | switch ($type) 68 | { 69 | case 'array': 70 | $map[ $map_key ] = [ 71 | strpos($key, '[JSON]') === strlen($key) - 6 ? 72 | json_encode($value) : 73 | serialize($value), 74 | PDO::PARAM_STR 75 | ]; 76 | break; 77 | 78 | case 'object': 79 | $value = serialize($value); 80 | 81 | case 'NULL': 82 | case 'resource': 83 | case 'boolean': 84 | case 'integer': 85 | case 'double': 86 | case 'string': 87 | $map[ $map_key ] = $this->typeMap($value, $type); 88 | break; 89 | } 90 | } 91 | } 92 | 93 | $stack[] = '(' . implode($values, ', ') . ')'; 94 | } 95 | 96 | foreach ($columns as $key) 97 | { 98 | $fields[] = $this->columnQuote(preg_replace("/(\s*\[JSON\]$)/i", '', $key)); 99 | } 100 | return $this->exec('INSERT IGNORE INTO ' . $this->tableQuote($table) . ' (' . implode(', ', $fields) . ') VALUES ' . implode(', ', $stack), $map); 101 | } 102 | 103 | } -------------------------------------------------------------------------------- /resources/views/magnetlinks.blade.php: -------------------------------------------------------------------------------- 1 | 2 | $val): ?> 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 高清 13 | 14 | 15 | 字幕 16 | 17 | 18 | 19 | 20 | 22 | 23 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 暫時沒有磁力連結 秋名山居民委员会 317599191一起寻找稀有资源 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /resources/views/welcome.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Laravel 8 | 9 | 10 | 11 | 12 | 13 | 65 | 66 | 67 |
68 | @if (Route::has('login')) 69 | 80 | @endif 81 | 82 |
83 |
84 | Laravel 85 |
86 | 87 | 96 |
97 |
98 | 99 | 100 | -------------------------------------------------------------------------------- /config/cache.php: -------------------------------------------------------------------------------- 1 | env('CACHE_DRIVER', 'file'), 22 | 23 | /* 24 | |-------------------------------------------------------------------------- 25 | | Cache Stores 26 | |-------------------------------------------------------------------------- 27 | | 28 | | Here you may define all of the cache "stores" for your application as 29 | | well as their drivers. You may even define multiple stores for the 30 | | same cache driver to group types of items stored in your caches. 31 | | 32 | */ 33 | 34 | 'stores' => [ 35 | 36 | 'apc' => [ 37 | 'driver' => 'apc', 38 | ], 39 | 40 | 'array' => [ 41 | 'driver' => 'array', 42 | ], 43 | 44 | 'database' => [ 45 | 'driver' => 'database', 46 | 'table' => 'cache', 47 | 'connection' => null, 48 | ], 49 | 50 | 'file' => [ 51 | 'driver' => 'file', 52 | 'path' => storage_path('framework/cache/data'), 53 | ], 54 | 55 | 'memcached' => [ 56 | 'driver' => 'memcached', 57 | 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), 58 | 'sasl' => [ 59 | env('MEMCACHED_USERNAME'), 60 | env('MEMCACHED_PASSWORD'), 61 | ], 62 | 'options' => [ 63 | // Memcached::OPT_CONNECT_TIMEOUT => 2000, 64 | ], 65 | 'servers' => [ 66 | [ 67 | 'host' => env('MEMCACHED_HOST', '127.0.0.1'), 68 | 'port' => env('MEMCACHED_PORT', 11211), 69 | 'weight' => 100, 70 | ], 71 | ], 72 | ], 73 | 74 | 'redis' => [ 75 | 'driver' => 'redis', 76 | 'connection' => 'cache', 77 | ], 78 | 79 | 'dynamodb' => [ 80 | 'driver' => 'dynamodb', 81 | 'key' => env('AWS_ACCESS_KEY_ID'), 82 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 83 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 84 | 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), 85 | ], 86 | 87 | ], 88 | 89 | /* 90 | |-------------------------------------------------------------------------- 91 | | Cache Key Prefix 92 | |-------------------------------------------------------------------------- 93 | | 94 | | When utilizing a RAM based store such as APC or Memcached, there might 95 | | be other applications utilizing the same cache. So, we'll specify a 96 | | value to get prefixed to all our keys so we can avoid collisions. 97 | | 98 | */ 99 | 100 | 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'), 101 | 102 | ]; 103 | -------------------------------------------------------------------------------- /config/auth.php: -------------------------------------------------------------------------------- 1 | [ 17 | 'guard' => 'web', 18 | 'passwords' => 'users', 19 | ], 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Authentication Guards 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Next, you may define every authentication guard for your application. 27 | | Of course, a great default configuration has been defined for you 28 | | here which uses session storage and the Eloquent user provider. 29 | | 30 | | All authentication drivers have a user provider. This defines how the 31 | | users are actually retrieved out of your database or other storage 32 | | mechanisms used by this application to persist your user's data. 33 | | 34 | | Supported: "session", "token" 35 | | 36 | */ 37 | 38 | 'guards' => [ 39 | 'web' => [ 40 | 'driver' => 'session', 41 | 'provider' => 'users', 42 | ], 43 | 44 | 'api' => [ 45 | 'driver' => 'token', 46 | 'provider' => 'users', 47 | 'hash' => false, 48 | ], 49 | ], 50 | 51 | /* 52 | |-------------------------------------------------------------------------- 53 | | User Providers 54 | |-------------------------------------------------------------------------- 55 | | 56 | | All authentication drivers have a user provider. This defines how the 57 | | users are actually retrieved out of your database or other storage 58 | | mechanisms used by this application to persist your user's data. 59 | | 60 | | If you have multiple user tables or models you may configure multiple 61 | | sources which represent each model / table. These sources may then 62 | | be assigned to any extra authentication guards you have defined. 63 | | 64 | | Supported: "database", "eloquent" 65 | | 66 | */ 67 | 68 | 'providers' => [ 69 | 'users' => [ 70 | 'driver' => 'eloquent', 71 | 'model' => App\User::class, 72 | ], 73 | 74 | // 'users' => [ 75 | // 'driver' => 'database', 76 | // 'table' => 'users', 77 | // ], 78 | ], 79 | 80 | /* 81 | |-------------------------------------------------------------------------- 82 | | Resetting Passwords 83 | |-------------------------------------------------------------------------- 84 | | 85 | | You may specify multiple password reset configurations if you have more 86 | | than one user table or model in the application and you want to have 87 | | separate password reset settings based on the specific user types. 88 | | 89 | | The expire time is the number of minutes that the reset token should be 90 | | considered valid. This security feature keeps tokens short-lived so 91 | | they have less time to be guessed. You may change this as needed. 92 | | 93 | */ 94 | 95 | 'passwords' => [ 96 | 'users' => [ 97 | 'provider' => 'users', 98 | 'table' => 'password_resets', 99 | 'expire' => 60, 100 | ], 101 | ], 102 | 103 | ]; 104 | -------------------------------------------------------------------------------- /public/avbook/themes/krajee-svg/theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Krajee SVG Theme styling for bootstrap-star-rating. 3 | * This file must be loaded after 'star-rating.css'. 4 | * 5 | * @see http://github.com/kartik-v/bootstrap-star-rating 6 | * @author Kartik Visweswaran 7 | */.theme-krajee-svg .krajee-icon,.theme-krajee-svg .krajee-icon-clear{display:inline-block;width:2rem;height:2rem;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}.theme-krajee-svg .clear-rating,.theme-krajee-svg .rating-stars{font-size:5px}.theme-krajee-svg .krajee-icon-clear{background-image:url('data:image/svg+xml;charset=utf-8,%3Csvg%20id%3D%22svg2%22%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20158.81%20158.81%22%20version%3D%221.1%22%3E%0D%0A%3Cpath%20id%3D%22path4%22%20style%3D%22fill%3A%23aaa%22%20stroke-linejoin%3D%22round%22%20d%3D%22m155.06%2C79.438c0%2C41.799-33.885%2C75.684-75.684%2C75.684s-75.684-33.885-75.684-75.684%2C33.885-75.684%2C75.684-75.684%2C75.684%2C33.885%2C75.684%2C75.684z%22%20stroke%3D%22%23aaa%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%2F%3E%0D%0A%3Cpath%20id%3D%22rect3139%22%20style%3D%22fill%3A%23fff%22%20d%3D%22m37.216%2C64.443v28.67h88.24v-28.67h-88.24z%22%2F%3E%0D%0A%3C%2Fsvg%3E')}.theme-krajee-svg .filled-stars .krajee-icon-star{background-image:url('data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23fde16d%22%20stroke%3D%22%23777777%22%20d%3D%22M20.6%2011l-4.6-10.5-4.6%2010.5h-10.8l7.8%207.9-3%2012.1%2010.6-6%2010.6%206-3-12.1%207.8-7.9z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E')}.theme-krajee-svg.rating-xl .krajee-icon,.theme-krajee-svg.rating-xl .krajee-icon-clear{width:3rem;height:3rem}.theme-krajee-svg.rating-lg .krajee-icon,.theme-krajee-svg.rating-lg .krajee-icon-clear{width:2.5rem;height:2.5rem}.theme-krajee-svg.rating-md .krajee-icon,.theme-krajee-svg.rating-md .krajee-icon-clear{width:2rem;height:2rem}.theme-krajee-svg.rating-sm .krajee-icon,.theme-krajee-svg.rating-sm .krajee-icon-clear{width:1.5rem;height:1.5rem}.theme-krajee-svg.rating-xs .krajee-icon,.theme-krajee-svg.rating-xs .krajee-icon-clear{width:1rem;height:1rem}.theme-krajee-svg .krajee-icon-clear:hover{background-image:url('data:image/svg+xml;charset=utf-8,%3Csvg%20id%3D%22svg2%22%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20158.81%20158.81%22%20version%3D%221.1%22%3E%0D%0A%3Cpath%20id%3D%22path4%22%20style%3D%22fill%3A%23843534%22%20stroke-linejoin%3D%22round%22%20d%3D%22m155.06%2C79.438c0%2C41.799-33.885%2C75.684-75.684%2C75.684s-75.684-33.885-75.684-75.684%2C33.885-75.684%2C75.684-75.684%2C75.684%2C33.885%2C75.684%2C75.684z%22%20stroke%3D%22%23843534%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%2F%3E%0D%0A%3Cpath%20id%3D%22rect3139%22%20style%3D%22fill%3A%23fff%22%20d%3D%22m37.216%2C64.443v28.67h88.24v-28.67h-88.24z%22%2F%3E%0D%0A%3C%2Fsvg%3E')}.theme-krajee-svg .empty-stars .krajee-icon-star{background-image:url('data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20stroke%3D%22%23777777%22%20d%3D%22M20.6%2011l-4.6-10.5-4.6%2010.5h-10.8l7.8%207.9-3%2012.1%2010.6-6%2010.6%206-3-12.1%207.8-7.9z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E')}.theme-krajee-svg .filled-stars .krajee-icon-heart{background-image:url('data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23fde16d%22%20stroke%3D%22%23777777%22%20stroke-width%3D%220.04em%22%20d%3D%22M12%2021.35l-1.45-1.32c-5.15-4.67-8.55-7.75-8.55-11.53%200-3.08%202.42-5.5%205.5-5.5%201.74%200%203.41.81%204.5%202.09%201.09-1.28%202.76-2.09%204.5-2.09%203.08%200%205.5%202.42%205.5%205.5%200%203.78-3.4%206.86-8.55%2011.54l-1.45%201.31z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E')}.theme-krajee-svg .empty-stars .krajee-icon-heart{background-image:url('data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20stroke%3D%22%23777777%22%20stroke-width%3D%220.04em%22%20d%3D%22M12%2021.35l-1.45-1.32c-5.15-4.67-8.55-7.75-8.55-11.53%200-3.08%202.42-5.5%205.5-5.5%201.74%200%203.41.81%204.5%202.09%201.09-1.28%202.76-2.09%204.5-2.09%203.08%200%205.5%202.42%205.5%205.5%200%203.78-3.4%206.86-8.55%2011.54l-1.45%201.31z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E')}.theme-krajee-svg.rating-rtl.is-heart .filled-stars{right:.02em}.theme-krajee-svg.rating-rtl.is-heart .empty-stars{margin-right:.01em} -------------------------------------------------------------------------------- /public/avbook/movie.css: -------------------------------------------------------------------------------- 1 | .movie 2 | { 3 | margin: 0px; 4 | padding: 15px 0px; 5 | overflow: hidden; 6 | background-color: #fff; 7 | box-shadow: 0 1px 3px rgba(0,0,0,.3); 8 | -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3); 9 | -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3); 10 | } 11 | 12 | .screencap 13 | { 14 | text-align: center; 15 | } 16 | 17 | @media screen and (min-width: 992px) { 18 | .screencap 19 | { 20 | border-right: 1px solid #E1E1E1; 21 | } 22 | } 23 | 24 | @media screen and (max-width: 992px) { 25 | .info { 26 | padding-top:15px; 27 | } 28 | } 29 | 30 | @media screen and (max-width: 480px) { 31 | .screencap { 32 | padding:0px; 33 | } 34 | 35 | .movie { 36 | padding:0px; 37 | } 38 | } 39 | 40 | .screencap img 41 | { 42 | width:100% 43 | } 44 | 45 | .info a { 46 | color:#333; 47 | } 48 | 49 | .info p { 50 | word-break:break-all; 51 | font-size:14px; 52 | line-height:25px; 53 | } 54 | 55 | .info .genre 56 | { 57 | margin-right: 10px; 58 | white-space:nowrap; 59 | } 60 | 61 | .info .header 62 | { 63 | font-weight:bold; 64 | font-size:14px; 65 | } 66 | 67 | .avatar-box .photo-frame 68 | { 69 | overflow:hidden; 70 | height:120px; 71 | margin:10px; 72 | } 73 | 74 | .sample-box .photo-frame 75 | { 76 | overflow:hidden; 77 | margin:10px; 78 | } 79 | 80 | .avatar-box 81 | { 82 | display:inline-block; 83 | background-color: #fff; 84 | overflow:hidden; 85 | margin: 5px; 86 | width: 140px; 87 | padding:0px; 88 | border:none; 89 | border-radius:0px; 90 | box-shadow: 0 1px 3px rgba(0,0,0,.3); 91 | -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3); 92 | -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3); 93 | } 94 | 95 | .avatar-box img 96 | { 97 | height: 120px; 98 | } 99 | 100 | .avatar-box span 101 | { 102 | font-weight:bold; 103 | text-align: center; 104 | word-wrap: break-word; 105 | display: block; 106 | padding: 10px; 107 | line-height: 22px; 108 | color: #333; 109 | background-color: #FAFAFA; 110 | border-top: 1px solid #F2F2F2; 111 | } 112 | 113 | .sample-box 114 | { 115 | display:inline-block; 116 | background-color: #fff; 117 | overflow:hidden; 118 | margin: 5px; 119 | width: 140px; 120 | padding:0px; 121 | border:none; 122 | border-radius:0px; 123 | box-shadow: 0 1px 3px rgba(0,0,0,.3); 124 | -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3); 125 | -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3); 126 | } 127 | 128 | .sample-box img 129 | { 130 | height: 90px; 131 | } 132 | 133 | @media screen and (max-width: 767px) { 134 | 135 | #avatar-waterfall, 136 | #sample-waterfall, 137 | #related-waterfall 138 | { 139 | text-align: center; 140 | } 141 | 142 | .avatar-box .photo-frame, 143 | .sample-box .photo-frame 144 | { 145 | margin:0px; 146 | } 147 | 148 | .avatar-box 149 | { 150 | width: 120px; 151 | } 152 | 153 | .avatar-box img 154 | { 155 | height: 120px; 156 | } 157 | 158 | .sample-box 159 | { 160 | width: 120px; 161 | } 162 | 163 | .sample-box img 164 | { 165 | height: 90px; 166 | } 167 | } 168 | 169 | /*Customized*/ 170 | .container h4 { 171 | margin-top:20px; 172 | } 173 | 174 | .star-box ul { 175 | margin: 0px; 176 | padding: 0px; 177 | } 178 | 179 | .star-box-common li { 180 | list-style-type: none; 181 | float: left; 182 | width: 120px; 183 | text-align: center; 184 | } 185 | 186 | .star-box-up li { 187 | margin: 0px; 188 | background-color: #fff; 189 | } 190 | 191 | .star-box-down li { 192 | margin: 7px 15px; 193 | background-color: #EEEEEB; 194 | box-shadow: 0 1px 3px rgba(0,0,0,.3); 195 | -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3); 196 | -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3); 197 | } 198 | .star-box img { 199 | width:100px; 200 | height:100px; 201 | margin:10px; 202 | } 203 | 204 | .star-box .star-name { 205 | padding:7px 0px 7px 0px; 206 | background-color: #FAFAFA; 207 | border-top: 1px solid #F2F2F2; 208 | } 209 | 210 | .idol-box { 211 | position:fixed; 212 | display:none; 213 | z-index:2; 214 | 215 | background-color: white; 216 | 217 | -moz-background-clip: padding; /* Firefox 3.6 */ 218 | -webkit-background-clip: padding; /* Safari 4? Chrome 6? */ 219 | background-clip: padding-box; /* Firefox 4, Safari 5, Opera 10, IE 9 */ 220 | 221 | border: 10px solid rgba(0,0,0,0.3); 222 | 223 | -webkit-border-radius: 10px; 224 | -moz-border-radius: 10px; 225 | border-radius: 10px; 226 | 227 | padding: 0px; 228 | width: 140px; 229 | 230 | box-shadow: 0 5px 10px rgba(0,0,0,.3); 231 | -moz-box-shadow: 0 5px 10px rgba(0,0,0,.3); 232 | -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.3); 233 | } 234 | 235 | #star-div { 236 | display:none; 237 | } 238 | 239 | #mag-submit { 240 | display:none; 241 | } 242 | 243 | /*Your AD Slider*/ 244 | /*.label {*/ 245 | /*margin-left:5px;*/ 246 | /*position:absolute;*/ 247 | /*top:-2px;*/ 248 | /*}*/ 249 | .left-urad1, .left-urad2 { 250 | position:relative; 251 | display:inline-block; 252 | overflow: hidden; 253 | width:0; 254 | top:2px; 255 | font-weight:normal; 256 | font-size:13px; 257 | left:-3px; 258 | } 259 | h4 .glyphicon-envelope { 260 | font-weight:normal; 261 | font-size:12px; 262 | } -------------------------------------------------------------------------------- /config/database.php: -------------------------------------------------------------------------------- 1 | env('DB_CONNECTION', 'mysql'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Database Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here are each of the database connections setup for your application. 24 | | Of course, examples of configuring each database platform that is 25 | | supported by Laravel is shown below to make development simple. 26 | | 27 | | 28 | | All database work in Laravel is done through the PHP PDO facilities 29 | | so make sure you have the driver for your particular database of 30 | | choice installed on your machine before you begin development. 31 | | 32 | */ 33 | 34 | 'connections' => [ 35 | 36 | 'sqlite' => [ 37 | 'driver' => 'sqlite', 38 | 'database' => env('DB_DATABASE', database_path('database.sqlite')), 39 | 'prefix' => '', 40 | 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), 41 | ], 42 | 43 | 'mysql' => [ 44 | 'driver' => 'mysql', 45 | 'host' => env('DB_HOST', '127.0.0.1'), 46 | 'port' => env('DB_PORT', '3306'), 47 | 'database' => env('DB_DATABASE', 'forge'), 48 | 'username' => env('DB_USERNAME', 'forge'), 49 | 'password' => env('DB_PASSWORD', ''), 50 | 'unix_socket' => env('DB_SOCKET', ''), 51 | 'charset' => 'utf8mb4', 52 | 'collation' => 'utf8mb4_unicode_ci', 53 | 'prefix' => '', 54 | 'prefix_indexes' => true, 55 | 'strict' => true, 56 | 'engine' => null, 57 | 'options' => extension_loaded('pdo_mysql') ? array_filter([ 58 | PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), 59 | ]) : [], 60 | ], 61 | 62 | 'pgsql' => [ 63 | 'driver' => 'pgsql', 64 | 'host' => env('DB_HOST', '127.0.0.1'), 65 | 'port' => env('DB_PORT', '5432'), 66 | 'database' => env('DB_DATABASE', 'forge'), 67 | 'username' => env('DB_USERNAME', 'forge'), 68 | 'password' => env('DB_PASSWORD', ''), 69 | 'charset' => 'utf8', 70 | 'prefix' => '', 71 | 'prefix_indexes' => true, 72 | 'schema' => 'public', 73 | 'sslmode' => 'prefer', 74 | ], 75 | 76 | 'sqlsrv' => [ 77 | 'driver' => 'sqlsrv', 78 | 'host' => env('DB_HOST', 'localhost'), 79 | 'port' => env('DB_PORT', '1433'), 80 | 'database' => env('DB_DATABASE', 'forge'), 81 | 'username' => env('DB_USERNAME', 'forge'), 82 | 'password' => env('DB_PASSWORD', ''), 83 | 'charset' => 'utf8', 84 | 'prefix' => '', 85 | 'prefix_indexes' => true, 86 | ], 87 | 88 | ], 89 | 90 | /* 91 | |-------------------------------------------------------------------------- 92 | | Migration Repository Table 93 | |-------------------------------------------------------------------------- 94 | | 95 | | This table keeps track of all the migrations that have already run for 96 | | your application. Using this information, we can determine which of 97 | | the migrations on disk haven't actually been run in the database. 98 | | 99 | */ 100 | 101 | 'migrations' => 'migrations', 102 | 103 | /* 104 | |-------------------------------------------------------------------------- 105 | | Redis Databases 106 | |-------------------------------------------------------------------------- 107 | | 108 | | Redis is an open source, fast, and advanced key-value store that also 109 | | provides a richer body of commands than a typical key-value system 110 | | such as APC or Memcached. Laravel makes it easy to dig right in. 111 | | 112 | */ 113 | 114 | 'redis' => [ 115 | 116 | 'client' => env('REDIS_CLIENT', 'predis'), 117 | 118 | 'options' => [ 119 | 'cluster' => env('REDIS_CLUSTER', 'predis'), 120 | ], 121 | 122 | 'default' => [ 123 | 'host' => env('REDIS_HOST', '127.0.0.1'), 124 | 'password' => env('REDIS_PASSWORD', null), 125 | 'port' => env('REDIS_PORT', 6379), 126 | 'database' => env('REDIS_DB', 0), 127 | ], 128 | 129 | 'cache' => [ 130 | 'host' => env('REDIS_HOST', '127.0.0.1'), 131 | 'password' => env('REDIS_PASSWORD', null), 132 | 'port' => env('REDIS_PORT', 6379), 133 | 'database' => env('REDIS_CACHE_DB', 1), 134 | ], 135 | 136 | ], 137 | 138 | ]; 139 | -------------------------------------------------------------------------------- /config/mail.php: -------------------------------------------------------------------------------- 1 | env('MAIL_DRIVER', 'smtp'), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | SMTP Host Address 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Here you may provide the host address of the SMTP server used by your 27 | | applications. A default option is provided that is compatible with 28 | | the Mailgun mail service which will provide reliable deliveries. 29 | | 30 | */ 31 | 32 | 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), 33 | 34 | /* 35 | |-------------------------------------------------------------------------- 36 | | SMTP Host Port 37 | |-------------------------------------------------------------------------- 38 | | 39 | | This is the SMTP port used by your application to deliver e-mails to 40 | | users of the application. Like the host we have set this value to 41 | | stay compatible with the Mailgun e-mail application by default. 42 | | 43 | */ 44 | 45 | 'port' => env('MAIL_PORT', 587), 46 | 47 | /* 48 | |-------------------------------------------------------------------------- 49 | | Global "From" Address 50 | |-------------------------------------------------------------------------- 51 | | 52 | | You may wish for all e-mails sent by your application to be sent from 53 | | the same address. Here, you may specify a name and address that is 54 | | used globally for all e-mails that are sent by your application. 55 | | 56 | */ 57 | 58 | 'from' => [ 59 | 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), 60 | 'name' => env('MAIL_FROM_NAME', 'Example'), 61 | ], 62 | 63 | /* 64 | |-------------------------------------------------------------------------- 65 | | E-Mail Encryption Protocol 66 | |-------------------------------------------------------------------------- 67 | | 68 | | Here you may specify the encryption protocol that should be used when 69 | | the application send e-mail messages. A sensible default using the 70 | | transport layer security protocol should provide great security. 71 | | 72 | */ 73 | 74 | 'encryption' => env('MAIL_ENCRYPTION', 'tls'), 75 | 76 | /* 77 | |-------------------------------------------------------------------------- 78 | | SMTP Server Username 79 | |-------------------------------------------------------------------------- 80 | | 81 | | If your SMTP server requires a username for authentication, you should 82 | | set it here. This will get used to authenticate with your server on 83 | | connection. You may also set the "password" value below this one. 84 | | 85 | */ 86 | 87 | 'username' => env('MAIL_USERNAME'), 88 | 89 | 'password' => env('MAIL_PASSWORD'), 90 | 91 | /* 92 | |-------------------------------------------------------------------------- 93 | | Sendmail System Path 94 | |-------------------------------------------------------------------------- 95 | | 96 | | When using the "sendmail" driver to send e-mails, we will need to know 97 | | the path to where Sendmail lives on this server. A default path has 98 | | been provided here, which will work well on most of your systems. 99 | | 100 | */ 101 | 102 | 'sendmail' => '/usr/sbin/sendmail -bs', 103 | 104 | /* 105 | |-------------------------------------------------------------------------- 106 | | Markdown Mail Settings 107 | |-------------------------------------------------------------------------- 108 | | 109 | | If you are using Markdown based email rendering, you may configure your 110 | | theme and component paths here, allowing you to customize the design 111 | | of the emails. Or, you may simply stick with the Laravel defaults! 112 | | 113 | */ 114 | 115 | 'markdown' => [ 116 | 'theme' => 'default', 117 | 118 | 'paths' => [ 119 | resource_path('views/vendor/mail'), 120 | ], 121 | ], 122 | 123 | /* 124 | |-------------------------------------------------------------------------- 125 | | Log Channel 126 | |-------------------------------------------------------------------------- 127 | | 128 | | If you are using the "log" driver, you may specify the logging channel 129 | | if you prefer to keep mail messages separate from other log entries 130 | | for simpler reading. Otherwise, the default channel will be used. 131 | | 132 | */ 133 | 134 | 'log_channel' => env('MAIL_LOG_CHANNEL'), 135 | 136 | ]; 137 | -------------------------------------------------------------------------------- /public/avbook/jquery.masonry.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * jQuery Masonry v2.1.08 3 | * A dynamic layout plugin for jQuery 4 | * The flip-side of CSS Floats 5 | * http://masonry.desandro.com 6 | * 7 | * Licensed under the MIT license. 8 | * Copyright 2012 David DeSandro 9 | */ 10 | (function(e,t,n){"use strict";var r=t.event,i;r.special.smartresize={setup:function(){t(this).bind("resize",r.special.smartresize.handler)},teardown:function(){t(this).unbind("resize",r.special.smartresize.handler)},handler:function(e,t){var n=this,s=arguments;e.type="smartresize",i&&clearTimeout(i),i=setTimeout(function(){r.dispatch.apply(n,s)},t==="execAsap"?0:100)}},t.fn.smartresize=function(e){return e?this.bind("smartresize",e):this.trigger("smartresize",["execAsap"])},t.Mason=function(e,n){this.element=t(n),this._create(e),this._init()},t.Mason.settings={isResizable:!0,isAnimated:!1,animationOptions:{queue:!1,duration:500},gutterWidth:0,isRTL:!1,isFitWidth:!1,containerStyle:{position:"relative"}},t.Mason.prototype={_filterFindBricks:function(e){var t=this.options.itemSelector;return t?e.filter(t).add(e.find(t)):e},_getBricks:function(e){var t=this._filterFindBricks(e).css({position:"absolute"}).addClass("masonry-brick");return t},_create:function(n){this.options=t.extend(!0,{},t.Mason.settings,n),this.styleQueue=[];var r=this.element[0].style;this.originalStyle={height:r.height||""};var i=this.options.containerStyle;for(var s in i)this.originalStyle[s]=r[s]||"";this.element.css(i),this.horizontalDirection=this.options.isRTL?"right":"left";var o=this.element.css("padding-"+this.horizontalDirection),u=this.element.css("padding-top");this.offset={x:o?parseInt(o,10):0,y:u?parseInt(u,10):0},this.isFluid=this.options.columnWidth&&typeof this.options.columnWidth=="function";var a=this;setTimeout(function(){a.element.addClass("masonry")},0),this.options.isResizable&&t(e).bind("smartresize.masonry",function(){a.resize()}),this.reloadItems()},_init:function(e){this._getColumns(),this._reLayout(e)},option:function(e,n){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))},layout:function(e,t){for(var n=0,r=e.length;n 7 | */ 8 | .theme-krajee-svg .krajee-icon, 9 | .theme-krajee-svg .krajee-icon-clear { 10 | display: inline-block; 11 | width: 2rem; 12 | height: 2rem; 13 | -webkit-background-size: cover; 14 | -moz-background-size: cover; 15 | -o-background-size: cover; 16 | background-size: cover; 17 | } 18 | 19 | .theme-krajee-svg .clear-rating, 20 | .theme-krajee-svg .rating-stars { 21 | font-size: 5px; 22 | } 23 | 24 | .theme-krajee-svg .krajee-icon-clear { 25 | background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20id%3D%22svg2%22%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20158.81%20158.81%22%20version%3D%221.1%22%3E%0D%0A%3Cpath%20id%3D%22path4%22%20style%3D%22fill%3A%23aaa%22%20stroke-linejoin%3D%22round%22%20d%3D%22m155.06%2C79.438c0%2C41.799-33.885%2C75.684-75.684%2C75.684s-75.684-33.885-75.684-75.684%2C33.885-75.684%2C75.684-75.684%2C75.684%2C33.885%2C75.684%2C75.684z%22%20stroke%3D%22%23aaa%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%2F%3E%0D%0A%3Cpath%20id%3D%22rect3139%22%20style%3D%22fill%3A%23fff%22%20d%3D%22m37.216%2C64.443v28.67h88.24v-28.67h-88.24z%22%2F%3E%0D%0A%3C%2Fsvg%3E'); 26 | } 27 | 28 | .theme-krajee-svg .filled-stars .krajee-icon-star { 29 | background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23fde16d%22%20stroke%3D%22%23777777%22%20d%3D%22M20.6%2011l-4.6-10.5-4.6%2010.5h-10.8l7.8%207.9-3%2012.1%2010.6-6%2010.6%206-3-12.1%207.8-7.9z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E'); 30 | } 31 | 32 | .theme-krajee-svg.rating-xl .krajee-icon, 33 | .theme-krajee-svg.rating-xl .krajee-icon-clear { 34 | width: 3rem; 35 | height: 3rem; 36 | } 37 | 38 | .theme-krajee-svg.rating-lg .krajee-icon, 39 | .theme-krajee-svg.rating-lg .krajee-icon-clear { 40 | width: 2.5rem; 41 | height: 2.5rem; 42 | } 43 | 44 | .theme-krajee-svg.rating-md .krajee-icon, 45 | .theme-krajee-svg.rating-md .krajee-icon-clear { 46 | width: 2rem; 47 | height: 2rem; 48 | } 49 | 50 | .theme-krajee-svg.rating-sm .krajee-icon, 51 | .theme-krajee-svg.rating-sm .krajee-icon-clear { 52 | width: 1.5rem; 53 | height: 1.5rem; 54 | } 55 | 56 | .theme-krajee-svg.rating-xs .krajee-icon, 57 | .theme-krajee-svg.rating-xs .krajee-icon-clear { 58 | width: 1rem; 59 | height: 1rem; 60 | } 61 | 62 | .theme-krajee-svg .krajee-icon-clear:hover { 63 | background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20id%3D%22svg2%22%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20158.81%20158.81%22%20version%3D%221.1%22%3E%0D%0A%3Cpath%20id%3D%22path4%22%20style%3D%22fill%3A%23843534%22%20stroke-linejoin%3D%22round%22%20d%3D%22m155.06%2C79.438c0%2C41.799-33.885%2C75.684-75.684%2C75.684s-75.684-33.885-75.684-75.684%2C33.885-75.684%2C75.684-75.684%2C75.684%2C33.885%2C75.684%2C75.684z%22%20stroke%3D%22%23843534%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%2F%3E%0D%0A%3Cpath%20id%3D%22rect3139%22%20style%3D%22fill%3A%23fff%22%20d%3D%22m37.216%2C64.443v28.67h88.24v-28.67h-88.24z%22%2F%3E%0D%0A%3C%2Fsvg%3E'); 64 | } 65 | 66 | .theme-krajee-svg .empty-stars .krajee-icon-star { 67 | background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20stroke%3D%22%23777777%22%20d%3D%22M20.6%2011l-4.6-10.5-4.6%2010.5h-10.8l7.8%207.9-3%2012.1%2010.6-6%2010.6%206-3-12.1%207.8-7.9z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E'); 68 | } 69 | 70 | .theme-krajee-svg .filled-stars .krajee-icon-heart { 71 | background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23fde16d%22%20stroke%3D%22%23777777%22%20stroke-width%3D%220.04em%22%20d%3D%22M12%2021.35l-1.45-1.32c-5.15-4.67-8.55-7.75-8.55-11.53%200-3.08%202.42-5.5%205.5-5.5%201.74%200%203.41.81%204.5%202.09%201.09-1.28%202.76-2.09%204.5-2.09%203.08%200%205.5%202.42%205.5%205.5%200%203.78-3.4%206.86-8.55%2011.54l-1.45%201.31z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E'); 72 | } 73 | 74 | .theme-krajee-svg .empty-stars .krajee-icon-heart { 75 | background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20stroke%3D%22%23777777%22%20stroke-width%3D%220.04em%22%20d%3D%22M12%2021.35l-1.45-1.32c-5.15-4.67-8.55-7.75-8.55-11.53%200-3.08%202.42-5.5%205.5-5.5%201.74%200%203.41.81%204.5%202.09%201.09-1.28%202.76-2.09%204.5-2.09%203.08%200%205.5%202.42%205.5%205.5%200%203.78-3.4%206.86-8.55%2011.54l-1.45%201.31z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E'); 76 | } 77 | 78 | .theme-krajee-svg.rating-rtl.is-heart .filled-stars { 79 | right: 0.02em; 80 | } 81 | 82 | .theme-krajee-svg.rating-rtl.is-heart .empty-stars { 83 | margin-right: 0.01em; 84 | } -------------------------------------------------------------------------------- /app/Console/Commands/Bttool.php: -------------------------------------------------------------------------------- 1 | decodeFile('resources/t2.torrent'); 46 | $torrent = \PHP\BitTorrent\Torrent::createFromTorrentFile('resources/t2.torrent'); 47 | var_dump($torrent->getFileList()); 48 | die;*/ 49 | // $data = Bencode::load('resources/t2.torrent'); 50 | // var_dump(json_encode($data,true)); 51 | 52 | $bcoder = new \Bhutanio\BEncode\BEncode; 53 | // $bcoder->set([ 54 | // 'announce'=>'http://www.private-tracker.com', 55 | // 'comment'=>'Downloaded from Private Tracker', 56 | // 'created_by'=>'PrivateTracker v1.0' 57 | // ]); 58 | 59 | // decode Torrent file 60 | // var_dump(file_get_contents('resources/t2.torrent')[0]);die; 61 | $torrent = $bcoder->bdecode( file_get_contents('resources/t2.torrent')); 62 | // var_dump(array_keys($torrent['info'])); 63 | // die; 64 | // print_r($torrent['info']['files']); 65 | $Files = $torrent['info']['files']; 66 | function create_ed2k($fname, $fsize, $fhash){ 67 | $ed2k_out = 'ed2k://|file|' . $fname . '|' . $fsize . '|' . $fhash . '|/'; 68 | return $ed2k_out; 69 | } 70 | function create_magnet($dn, $xl = false, $btih = '', $sha1 = '', $ed2k = '', $tree_tiger = '', $md5 = '') 71 | { 72 | $magnet = 'magnet:?'; 73 | if ($dn){ 74 | $magnet .= 'dn=' . $dn; // download name 75 | } 76 | if ($xl){ 77 | $magnet .= '&xl=' . $xl; // size 78 | } 79 | if ($btih){ 80 | $magnet .= '&xt=urn:btih:' . $btih; // bittorrent info_hash (Base32) 81 | } 82 | if ($sha1){ 83 | $magnet .= '&xt=urn:sha1:' . $sha1; // gnutella sha1 (base32) 84 | } 85 | if ($ed2k){ 86 | $magnet .= '&xt=urn:ed2k:' . $ed2k; // emule hash (Hex) 87 | } 88 | if ($tree_tiger){ 89 | $magnet .= '&xt=urn:tree:tiger:' . $tree_tiger; // tiger (Base32) 90 | } 91 | if ($sha1 && $tree_tiger) { 92 | $magnet .= '&xt=urn:bitprint:' . $sha1 . '.' . $tree_tiger; // Gnutella 2 (Shareaza) bitprint (Base32) 93 | } 94 | if ($md5){ 95 | $magnet .= '&xt=urn:md5:' . $md5; // md5 hash (Hex) 96 | } 97 | return $magnet; 98 | } 99 | 100 | 101 | 102 | 103 | //var_dump($Files);// 104 | foreach($Files as $File) { 105 | 106 | if(isset( $File['ed2k'])){ 107 | 108 | 109 | // $hex = bin2hex($File['ed2k'] );//二进制转成16进制 110 | $f = $File; 111 | $f["filehash"] =isset($f["filehash"]) ? bin2hex($f["filehash"]) : ''; 112 | $f["ed2k"] =bin2hex($f["ed2k"]); 113 | var_dump($f); 114 | $sha1 ='';//isset($f["filehash"]) ? strtoupper(base32_encode($f["filehash"])) : ''; //isset($f["sha1"]) ? strtoupper(base32_encode($f["sha1"])) : ''; 115 | $ed2k = $f["ed2k"]; 116 | $tiger = isset($f["tiger"]) ? strtoupper(base32_encode($f["tiger"])) : ''; 117 | $md5 = isset($f["md5sum"]) ? bin2hex($f["md5sum"]) : ''; 118 | //hashes is set? 119 | $ext_hashes = (isset($f["ed2k"]) || isset($f["sha1"]) || isset($f["tiger"]) || isset($f["md5sum"])); 120 | if ($ext_hashes && isset($f["length"])) 121 | { 122 | if (isset($f["ed2k"])) 123 | { 124 | echo create_ed2k(max($f['path']), $f["length"], $f["ed2k"] ) ."\n"; 125 | } 126 | else 127 | { 128 | 129 | } 130 | // echo @create_magnet(max($f['path']), $f["length"], '', $sha1, $ed2k, $tiger, $md5)."\n\n"; 131 | 132 | } 133 | /* 134 | $s = create_ed2k(max($f['path']), $f["length"], bin2hex($f["ed2k"])); 135 | var_dump($s); 136 | die; 137 | 138 | var_dump($hex);//die; 139 | var_dump(chr(hexdec($hex))); 140 | $string=''; 141 | for ($i=0; $i < strlen($hex)-1; $i+=2){ 142 | $string .= chr(hexdec($hex[$i].$hex[$i+1])); 143 | } 144 | // $string = iconv("GBK","utf-8", $string); 145 | 146 | var_dump($string);die; 147 | // $s =iconv('UTF-8//TRANSLIT', 'utf-8//TRANSLIT', $File['ed2k']); 148 | 149 | 150 | // $encode = mb_detect_encoding($File['ed2k']); 151 | $encode = mb_detect_encoding($File['ed2k'],array("ASCII","GB2312","GBK",'BIG5','UTF-8')); 152 | var_dump($encode); 153 | 154 | var_dump($File['ed2k']); 155 | 156 | $s =iconv( $encode,'UTF-8//IGNORE', $File['ed2k']);; 157 | // $s = utf8_encode( $File['ed2k']) ; 158 | var_dump($s); 159 | die;*/ 160 | } 161 | 162 | 163 | } 164 | 165 | // show Torrent contents 166 | $files = $bcoder->filelist( $torrent ); 167 | // print_r($files); 168 | die; 169 | // 170 | // 171 | // $bcoder = new \Bhutanio\BEncode\BEncode(); 172 | // $bcoder->set([ 173 | // 'announce'=>'http://www.private-tracker.com', 174 | // 'comment'=>'Downloaded from Private Tracker', 175 | // 'created_by'=>'PrivateTracker v1.0' 176 | // ]); 177 | // 178 | // // decode Torrent file 179 | // $torrent = $bcoder->bdecode('resources/t2.torrent' ); 180 | // print_r($torrent); 181 | // 182 | // $encoder = new \PHP\BitTorrent\Encoder(); 183 | // $decoder = new \PHP\BitTorrent\Decoder($encoder); 184 | // 185 | // $decodedFile = $decoder->decodeFile('resources/t2.torrent'); 186 | 187 | // $decodedFile-> 188 | // $decodedFile = json_decode(json_encode($decodedFile)); 189 | // var_dump($decodedFile); 190 | // foreach ($decodedFile as $item) { 191 | // var_dump(json_encode($item)); 192 | // } 193 | die; 194 | } 195 | } 196 | -------------------------------------------------------------------------------- /resources/views/magnetlinks2.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 磁力名稱 1 3 | 檔案大小 4 | 分享日期 5 | 6 | 7 | $val): ?> 8 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 高清 17 | 18 | 19 | 字幕 20 | 21 | 22 | addto115无效 23 | 115会员 24 | have file 25 | 26 | 27 | 28 | 取消标志 29 | 30 | 31 | 32 | 33 | 35 | 36 | 37 | 38 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 磁力名稱 btso 47 | 檔案大小 48 | 分享日期 49 | 50 | $val): ?> 51 | 52 | 53 | 54 | 56 | 57 | 58 | 高清 59 | 60 | 61 | 字幕 62 | 63 | 64 | addto 115无效 65 | 115会员 66 | have file 67 | 68 | 69 | 70 | 待下 71 | 取消标志 72 | 73 | 74 | 75 | 76 | 78 | 79 | 80 | 81 | 83 | 84 | 85 | 86 | 87 | 88 | --------------------------------------------------------------------------------